why cant i add force??

Posted By: Helghast

why cant i add force?? - 09/16/04 14:47

here is my code:

Code:
 

function blowing_ragdoll
{
while(1)
{
if(key_space == 1)
{
phent_addcentralforce ( torso, vector(1000, 0, 0) );
}
wait(1);
}
}



now when i press space nothing happens to my model..

how can i come around this??
TIA and regards,
Posted By: LoneWolf

Re: why cant i add force?? - 09/17/04 20:39

Have you tried increasing the force value? I find it has to be a very high value but it depends what you set the mass etc to
Posted By: Helghast

Re: why cant i add force?? - 09/17/04 20:41

lol, ty, i allready worked it out

regards,
Posted By: Marco_Grubert

Re: why cant i add force?? - 09/18/04 11:54

Remember that applying a force for a single frame can be a very short span of time depending on framerate. Increasing the force or lowering the object's mass is one option (not recommended), applying a smaller force over a period of time is the better alternative.
© 2024 lite-C Forums