Hertzole / gold-player

A first person player controller for Unity.
MIT License
160 stars 16 forks source link

Look angle animation not working #47

Open ZayNepz opened 1 year ago

ZayNepz commented 1 year ago

All other animations with the Gold Player Animator seem to work well. I have a humanoid rig and I'm pretty sure I've done everything the exact same way as it's made in the example scene. I tried with/without Avatar mask, different weights, different animations, different reference Head transforms and when viewing the head tilt inside the Head blend tree, the head tilting is working.

Hertzole commented 1 year ago

Hi! It can be a bit difficult to guess what might be wrong but I'll throw out a few guesses on what might be wrong;

  1. Do you have 3 animations for looking up, looking forward, and looking down? image

  2. Are you targeting the correct animator parameter? image

  3. Is Look Angle enabled in the Gold Player Animator? image

  4. Is the Look Angle Head reference the same as your Camera Head reference in the camera settings? Same reference

  5. Have you set up the look angle blend tree properly? It should be a 1D blend type with look down at -90, look forward at 0, and look up at 90. Head blend setup

I hope any of these guesses help you! :)

ZayNepz commented 1 year ago

Thanks for the reply, I have all the same settings as you do except it's just my own 3D character with its own avatar and rig.