I can simulate the effect of gravity for the entity, and that works fine, but it seems kinda redundant to have to assign it for each entity I want gravity to apply to.

(the object in question can only use the gravity counter-force at certain times and in varying amounts according to a coefficient of the 1:1 antigrav force, but that's not the issue.)

Can anyone at least tell me the algorithm the gravity function uses? because it doesn't seem to follow the F = ma; a=f/m rule of acceleration and force, or maybe the force parameter for phent_addcentralforce is something other than the force equivelant to the mass times the acceleration? I just don't get it.

Last edited by deianthropus; 04/06/10 19:45.