Game Development Community

SetMaxLinearVelocity question

by Chris Vallance · in Torque Game Builder · 04/05/2006 (11:20 pm) · 1 replies

Is there a way to set separate maximum speeds for left and right? I want my player to move quickly when traveling forward, slowly when moving backward.

#1
04/05/2006 (11:30 pm)
All I can think of is when the player changes direction you change it's max velocity. So when it starts moving forward change its value to a high one, and to a low one when it starts to move backwards.