Hmm yea I'm not doing any value mixing so you are probably right.
Does the position get applied in the Update pass?
As it currently stands when the player fires I do the following
- playerCharacterController.WeaponBoneUtility.position = true;
- skeletonAnimation.state.SetAnimation(0, "standardPositionSetup", false); // This is to get all the bones back to a natural state
- // Fire rocket code here
Do I need to wait a frame before I fire my weapon?
PS - That rocket trail is from the Asset Store, I think it was called "Better Trails"
18 Dec 2016 11:19 pm
So I changed up my code so that it enables the position override, waits 1 frame, and then fires my weapon.
This DOES resolve the issue, but it feels very wrong that I'm waiting 1 frame before firing the players weapon with my game being a twitch shooter type game ๐
Is there anything else that could be done?