Vehicles third pass

A place to discuss everything related to Newton Dynamics.

Moderators: Sascha Willems, walaber

Re: Vehicles third pass

Postby pHySiQuE » Fri Nov 24, 2017 3:43 pm

Okay, I've got a car with steering and brakes that is aligned along the Z axis. Ready for next steps whenever you are. :mrgreen:
pHySiQuE
 
Posts: 608
Joined: Fri Sep 02, 2011 9:54 pm

Re: Vehicles third pass

Postby Julio Jerez » Fri Nov 24, 2017 4:11 pm

Ha nice!
I thought I was going to work over the weekend but this is a special holiday, and I have different matter to attend that I forgot about.
I may not make as much progress as I thought, but I will try to get it back on before next week.
I let you know when I make important new commits so that we are both in sync.
Julio Jerez
Moderator
Moderator
 
Posts: 12249
Joined: Sun Sep 14, 2003 2:18 pm
Location: Los Angeles

Re: Vehicles third pass

Postby pHySiQuE » Fri Nov 24, 2017 4:50 pm

Sounds good. Thanks!
pHySiQuE
 
Posts: 608
Joined: Fri Sep 02, 2011 9:54 pm

Re: Vehicles third pass

Postby Julio Jerez » Mon Nov 27, 2017 2:42 pm

try to sync and make the new changes.

you should get a vehicle with the tire spinning in place, and the car should not move for some time,
eventually it will move because round error, but should state put for long time.
This is like a wind tunnel test, or a dynamo like the one in the smoke test stations,
or if you will the mr Sterling Training simulator. 8)
https://www.youtube.com/watch?v=LxJvLvpNgIw

the in file ..\sdk\dCustomJoints\dCustomVehicleControllerManager.cpp line 3350
you can uncomment the lines.
Code: Select all
//            tireJoint->m_lateralSpeed[i] = 1.0f;
            tireJoint->m_longitudinalSpeed[i] = 2.0f;

and see if the car moves sideway.

those at the parameter that the Lagrangian body center dynamics calculable and pass to the rigid body solver to produce the vehicle motion.
the entire vehicle dynamic model rely on these parameter to be controllable and predictable.
once this is predictable one the is working, then we can make vehicle are reality as we want or a arcade as we want, even vehicles like we see in Cars.

Pleases see if you can get that in your engine like it behaves in the SDK demos but in your coordinate system

the next committee will enable the complex model.
Julio Jerez
Moderator
Moderator
 
Posts: 12249
Joined: Sun Sep 14, 2003 2:18 pm
Location: Los Angeles

Re: Vehicles third pass

Postby pHySiQuE » Tue Nov 28, 2017 1:46 am

I followed your instructions but I am not sure what I should be seeing. Here is a test program:
https://www.leadwerks.com/files/vehicle_test.zip

Vehicle controls are WASD.
pHySiQuE
 
Posts: 608
Joined: Fri Sep 02, 2011 9:54 pm

Re: Vehicles third pass

Postby pHySiQuE » Sun Dec 03, 2017 8:41 pm

Do you need anything else from me right now?
pHySiQuE
 
Posts: 608
Joined: Fri Sep 02, 2011 9:54 pm

Re: Vehicles third pass

Postby Julio Jerez » Wed Dec 06, 2017 3:34 pm

NO, I was very busy on the final step of WWE 2K18 which I could no mention but is is now released.
I will have some free time and I will see if I finish it.
Julio Jerez
Moderator
Moderator
 
Posts: 12249
Joined: Sun Sep 14, 2003 2:18 pm
Location: Los Angeles

Previous

Return to General Discussion

Who is online

Users browsing this forum: No registered users and 12 guests