Arms are not aiming up or down wheen shooting and aim is false

Acer

Member
Hi,
I have made my own character so maybe I have changed some settings. When aiming the arms works correctly but not when shooting and aim is false.
Where should I look to fix this.

/Alex
 
Last edited:
The CharacterIK component is responsible for moving the arms up and down. Is your character a humanoid? If so the Character Manager would have added the CharacterIK component and you can adjust the arm weights in order to move the arms with the camera angle. If your character is not humanoid then you'll need to use something like FinalIK since Unity's IK system doesn't support non-humanoids.
 
The CharacterIK component is responsible for moving the arms up and down. Is your character a humanoid? If so the Character Manager would have added the CharacterIK component and you can adjust the arm weights in order to move the arms with the camera angle. If your character is not humanoid then you'll need to use something like FinalIK since Unity's IK system doesn't support non-humanoids.
Hi Justin,

Thank you for the answer. I have a CharacterIK and the arms looks good when aiming but not when I shoot without aiming. So when I shoot the Fire animation play but it only aims straight ahead (I have my own Fire animation and aim animation). Maybe this is the default behavior?
my question has maybe not that clear and sorry for that.

Alex
 
Ah, in the demo scene we use the state system to adjust the weights of the arms when the Use ability is active.
 
Ah, in the demo scene we use the state system to adjust the weights of the arms when the Use ability is active.
Yes that could actually be why. I have removed alot of States but what specific preset is it and there to I set the State? The CharacterIk doesn't seem to have a Use State or should I set it in the Item Abilities Use State?

[Update]
I removed the Aim State on The CharacterIk just to test and later I added it back again but now the arms does not even move when aiming. Can't understand why this happend.
Also maybe the aim didn't even work either because I had a very high value on the Look At Body Weight so the body moved the arms I think.
So the arms IK aim is still not working for me.

Alex
 
Last edited:
Sorry I missed this. I just checked the demo scene and we don't do any IK adjustments when the item is being used. By default the Upper Arm IK Weight is set to 1 so when the character starts to aim the arms will point in the correct direction. You could definitely add the Use ability though and adjust the weights to change the original values that you are using.
 
Back
Top