playMaker

Author Topic: Smooth Look At - how to animate legs - pivot when GObj. rotates?  (Read 1252 times)

kavery

  • Full Member
  • ***
  • Posts: 149
So I have a bunch of 3D enemy avatars with rotation constraints using the Look At and Smooth Look At actions. This keeps them always facing the player.

When you are running or walking by them quickly, it becomes obvious that their feet are stiff and sliding on the ground as they rotate towards you.

I'm wondering how I can trigger a pivot animation when the rotation becomes severe enough to warrant it?

I'd also like to trigger a similar animation when the enemy changes look at targets (the target is the closest player) 

« Last Edit: August 04, 2016, 02:07:55 PM by kavery »

kavery

  • Full Member
  • ***
  • Posts: 149
Re: Smooth Look At - how to animate legs - pivot when avatar rotates?
« Reply #1 on: August 04, 2016, 01:10:03 PM »
I'm now realizing I could probably use 'get angle to target' and watch for a high rotation speed somehow?

Also interested if anyone knows of a different way (less overhead) or a procedural method for moving legs during a rotation. I'm not using physics or IK methods currently. Just mecanim and transforms.
« Last Edit: August 04, 2016, 01:19:55 PM by kavery »