JV-ODE Physics Thread 9

Blitz3D Forums/Blitz3D Userlibs/JV-ODE Physics Thread 9

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

It's probably not a good idea to disable the UpdateCar() function, it's better to use it to control the force and torque from one single location in your code.

For example, adding the following code to the UpdateKeys() function in the car demo will lock all four wheels when the 'down' arrow key is pressed, without disabling the UpdateCar() function...
If KeyDown(208)=1
	Force=0
	Torque=1000
	Else
	Torque=24
	End If