Game Development Community

Move with direction

by QuangKim · in Torque Game Engine · 12/23/2005 (10:52 pm) · 2 replies

How can i get AIPlayer(setMoveDestination) to move from one direction / location to interpolate to another location / direction. interpolation only in direction, movement should be normal. is this a readily available functionality?if not any Ideas?

#1
12/23/2005 (10:53 pm)
I want it to create a spline curve movement to adjust to the new direction, like a wheeled vehicle movement. But ithis is for a running human AI player, so how do i do it?
#2
12/23/2005 (11:37 pm)
Have you tried having the current destination point interpolate to a goal point over time in the C++? Just interpolate in processTick and you should be set. It should all seem quite smooth.