Game Development Community

What is the speed?

by John Carroll · in Torque 3D Professional · 08/11/2011 (8:49 am) · 0 replies

Trying to port to T3D from TGEA, and we have a speed issue. We need to precisely control the speed of AI chars. In the old TGEA we'd just tell torque to move the char with mMoveSpeed (for example mMoveSpeed=5 meant 5km/sec). We now tell torque to move the same char at 5, and he rips across the screen sans animation, and quite obviously too fast. If I set maxForwardSpeed and maxBackwardSpeed to 15, and divide mMoveSpeed by (15 * 8), (this scales speed to between 0 and 1) the char approaches normal operation. It appears that there must be some significant change to getAIMove, and/or updatePos. So, if I want an AI char (korq for example) to move at 5km/sec, what is the trick?

About the author

Working on using Torque as an Image Generator for Tactical Simulations under laser and live fire conditions, for Law Enforcement/Military applications.