Page 2 of 2

Re: [PB4.31] Car Physics (based on Marco Monster's Tutorial)

Posted: Mon Mar 26, 2012 5:41 pm
by Comtois
d.j.peters wrote:
Normaly i would use OGRE with PureBasic but the most important command
from the physics engine are missing or it isn't documented. (I don't know)

In car physics you have to apply forces and impulse on any point of the rigidbody
but with PB OGRE you can only add forces or impulse to the center of mass :(
It isn't documented , you can try this syntax
ApplyEntityImpulse(#Entity, x, y, z, px, py, pz)
ApplyEntityForce(#Entity, x, y, z, px, py, pz)
px, py, pz : position

Re: [PB4.31] Car Physics (based on Marco Monster's Tutorial)

Posted: Mon Mar 26, 2012 8:20 pm
by d.j.peters
Comtois wrote:It isn't documented , you can try this ...
you made my day, thank you very mutch.

But how do you know about none documented command and there are more ?

edit:
I found it out self by looking to the pb lib's with an hex editor. :wink:

DJ.

Re: [PB4.31] Car Physics (based on Marco Monster's Tutorial)

Posted: Tue Mar 27, 2012 9:11 am
by Kelebrindae
@Comtois:
you've just made my day too! Wow, that's a whole new world of possibilities.
Must. Test. Now.