Game Development Community

What does Gravitic force mean

by Conor O Kane · in Torque Game Builder · 07/16/2007 (6:01 am) · 2 replies

SetConstantForce and SetImpulseForce have a 'gravitic' bool option. What does gravitic mean?

Is constant force more efficient than Impulse force? I'm trying to do a thruster game with gravity and I'm using a SetImpulseForcePolar on every tick on my player. Is this an efficient way to apply precice control or is there a better way using SetConstantForce? I found that using constant force has almost no effect on the player, whereas impulse has an imediate and obvious effect.

#1
07/16/2007 (2:00 pm)
Im not sure how gravitic works yet (i always set it to false... but i guess i might give it a try later on), but one thing i can tell you is that setConstantForce does have an effect on the object that its applied to, but you would need to apply it very well... i mostly use setConstantForcePolar, and to gain the results im looking for, i need to test carefully the angle in which i need to apply the force, and the ammount of force applied.

now, if im not mistaken, the force you apply to an object with setImpulseForce wears off after a few seconds, so you need to take care of the values too.

in conclusion, make sure what is it what you want, and then use the appropiate command for that, testing with various settings till you find the one you like the most.
#2
07/16/2007 (3:47 pm)
A gravitic force acts on an object independent from its mass. e.g. gravity.