|
Post by tsuyoiraion on Sept 13, 2020 19:51:23 GMT
While tinkering with the player events i noticed there are events for all kinds of stuff (i.e jump, sprint, etc.) but roll was missing. So with a few edits you can have a roll event too! 1. Open "vThirdPersonController" and scroll to "public virtual void Roll()"2. Add "OnRoll.Invoke();" below "currentStaminaRecoveryDelay"3. Open "vThirdPersonMotor" and add "public UnityEvent OnRoll;" below "OnJump" at the top That's it, you should now have a Roll Event accessible in the vThirdPersonController > Events area, have fun!
|
|
|
Post by Hassman on Sept 26, 2020 13:45:24 GMT
Awesome, Thank You!
|
|
|
Post by tsuyoiraion on Sept 26, 2020 23:11:01 GMT
No problem
|
|