-
What do you want to achieve? : an Enemy system that can rotate its body when its near the target node like in TDS or VTD
-
What is the issue? : nothng
-
What solutions have you tried so far? : ive asking firedns but they dont have the solutions, i already tried using splines and bezier but they dont work perfectly as i want(maybe bezier will work but i code in the wrong way)
i use the bezier way with subnodes that do the bezier from target node lookat prev node - 2.5, target node, and from target node lookat next node + 2.5.
and on the enemy moving, i detect if enemy is near the target node by 2.5 studs or not, if yes do the bezier subnode with for loop through every subnode and pivot enemy to the sub
if someone knows the solutions, please tell me