Flying Vehicle never stops turning
by Robert Norris · in Torque Game Engine · 08/18/2005 (6:54 am) · 4 replies
Hello,
i've derived my own player-class from flying vehicle and want to modify the navigation. Here is my problem:
if i stop moving the mouse, the view will still move until the dampening slowes it down. If i disable damping totally, the view will never stop and will just go into the direction i moved the mouse for infinity. How can i modify the flyingVehicle class so that the view stops, when i stop moving the mouse?
I've treid a couple of things in the updateMove() function, but nothing works correctly. Perhaps someone has a codesnippet or something like that?
best regards
Rob
i've derived my own player-class from flying vehicle and want to modify the navigation. Here is my problem:
if i stop moving the mouse, the view will still move until the dampening slowes it down. If i disable damping totally, the view will never stop and will just go into the direction i moved the mouse for infinity. How can i modify the flyingVehicle class so that the view stops, when i stop moving the mouse?
I've treid a couple of things in the updateMove() function, but nothing works correctly. Perhaps someone has a codesnippet or something like that?
best regards
Rob
About the author
Torque Owner Stefan Lundmark
I'll bump this thread if I find it.