Game Development Community

How to move AiPlayer smoothly along a curve path?

by TigerHeros · in Torque 3D Professional · 04/12/2010 (2:39 am) · 1 replies

Hi..,


I have created a path and placed markers for the aiplayer. The aiplayer goes straight from one marker to another marker even when the path is not straight. And when the aiplayer reaches the marker it suddenly turns up, I wanted it to turn smoothly and make it to move on a curvy path. Can anyone help me on this.

#1
04/15/2010 (11:18 am)
This is doable - you can linearly iterpolate the current yaw (z rotation).