Game Development Community

Speed reduction

by Kevin James · in Torque Game Builder · 03/28/2005 (6:44 pm) · 6 replies

I put a sprite at the top of the screen, then move it toward the bottom. The speed slows down noticeably. How do I force setLinearVelocityY to be constant?

About the author

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


#1
03/28/2005 (7:12 pm)
The function you're looking for is setConstantForce, I believe..
#2
03/28/2005 (7:17 pm)
What physics datablock are you using?
Check the friction value on it, either change it or create a new physics datablock with friction set to 0.
#3
03/28/2005 (7:19 pm)
Thanks Chris! That was it.
#4
03/28/2005 (9:09 pm)
I'm getting the same thing with angular velocity. And changing the friction doesn't seem to help.
#5
03/28/2005 (9:15 pm)
Change damping to 0.
#6
03/28/2005 (9:25 pm)
You can use this Physics Demo to test out physics properties