Game Development Community

Modifying player move in processTick

by Dan Keller · in Torque Game Engine · 06/02/2008 (2:25 pm) · 2 replies

I've added some code to player's processTick() to automatically snap to opponents by changing move->pitch and move->yaw. However, this causes the player to immediately jerk into position, without interpolating. Why is this?

#1
06/02/2008 (2:56 pm)
It could be any number of reasons. You're way to vague, give some more detail.
#2
06/04/2008 (9:03 pm)
Nevermind. preprocessMove() works a lot better for this.