Game Development Community

What are the units for setImpulseForce?

by Kevin James · in Torque Game Builder · 06/21/2008 (5:11 am) · 3 replies

Its a pretty simple question:

What are the units for setImpulseForce?

Hopefully, someone has an answer.

About the author

Computer security, digital forensics, and platform jumper enthusiast. shells.myw3b.net/~syreal/


#1
06/21/2008 (7:48 am)
I played around with forces a few months ago and basically found that there are no standard units - it's all trial and error until you get something that's visually correct. One important thing to remember is that the size of the object affects how much acceleration it will get from an impulseForce. I believe the gravitic option is supposed to override this and apply the force regardless of the object's size.
#2
06/21/2008 (8:21 am)
Yeah, I was afraid that the units on the setImpulseForce were arbitrary. setLinearVelocity units are roughly in x world units per second -- but even that doesn't work out perfectly. I may experiment some in order to try and nail down something.
#3
06/21/2008 (1:43 pm)
I'm giving up on determining the answer to this question -- I didn't try to find out -- I just changed my focus. I'm going with what you say, Conor, and making it visually correct.