0
Answered

Turn with tween

Tvisvarson 2 months ago in Behavior updated 2 months ago 3

Is it possible to turn a non Player Character with a tween?  for example when the player approaches a enemy from the rear, and i tell the enemy via behaviour to "look at player". He turns then immediately 180°, no foot movement (could live with that) and no tween in the turn. Can i somehoe smooth that turn, maybe even let him move his feet?


Unity version:
Game Creator version:

Answer

Answer

I found: "Transform Move" to let him turn smooth, so the turning is solved. Stays the movement of the feet. ;)

Answer

I found: "Transform Move" to let him turn smooth, so the turning is solved. Stays the movement of the feet. ;)

Answered

Glad it works! However, this will only work as long as you don't use the Navigation Mesh

How would you do it if you use the NavMesh?