Here the demo:
The demo need a video card compatible OpenGL 4.5, 4.6
Just for make sure that you don't get error from the sound system.
Go in folder Requirements\ and install the OpenAL dll oalinst.exe
You have 4 exe in the zip
mainEngine_release.exe - this exe use tire cylinderchamfer with newton release dll
mainEngine_release_cylinder_tire.exe - this exe use tire cylinder with newton release dll
mainEngine_debug_engine_only.exe - this exe use debug for the engine only and newton release dll
mainEngine_debug_dll.exe this exe use debug engine + newton debug dll
When you run the exe, It is supposed to open the script editor with the default demo script.
You can start the demo script by pressing the blue button with the arrow looking like a play button.
If all going good the 3d scene is supposed to open and start the simulation.
Use w,a,s,d for drive the car and spacebar for break.
With e you can add some wood fracture.
In the editor you can scrolldown in the script and find the lines 370,371,372,373
BVeh0.SetTireMaterial() for modify the tire material.
Save close the 3d window and press the play button again.
In the editor again you can modify the tire torque too, at this lines 509,510,511,512
vehicle01.SetTireTorque()
Save close the 3d window and press the play button again.
If you like to get the simulation time faster to get car sim at full speed.
In the 3D window, Inside the imgui Newton Options set the engine loop to 2.
You can adjust the TimeSlice to the desired simulation speed that you prefer for the car.
The precision is not good when you change the time value in my imgui menu, I need to fix it.
If you like to test the demo with stack fracture box too.
In the editor go at lines 344,345,346 and uncomment the pyramid save close the 3d window and press play.
If you like to change the mesh loop position go at line 338 in the editor.
Save close the 3d window and press play again.
Download link:
https://www.mediafire.com/file/k3ghqp83 ... gineV5.zipEdited:
The camera is a bit crazy to setup I currently work on it, For my vehicle simulation.
Updated version with the current newton version 2018-09-04
New Download link:
https://www.mediafire.com/file/gcmeboaf ... dTest2.zipLet's me know if something don't work.
Or if you need to test a other thing.
PS: In this demo build I use my hack in the joint to avoid the tire rotation problem.
The edge problem is present without the hack too.
I have try to change the tire soft or elastic material but it don't seen to help.
Thanks.