DemoRPGMovement demo missing Jump?
Options
FGStud
✭
Hello,
I'm working with the DemoRPGMovement demo and I can't seem to find any section of code to handle the robot jumping.
I looked in RPGMovement.cs but there is nothing for the jump. I see the animator has it setup but there is no code to handle it.
Where is this animation/action handled, code-wise?
Thanks!
I'm working with the DemoRPGMovement demo and I can't seem to find any section of code to handle the robot jumping.
I looked in RPGMovement.cs but there is nothing for the jump. I see the animator has it setup but there is no code to handle it.
Where is this animation/action handled, code-wise?
Thanks!
0
Comments
-
That's not part of this particular demo at the moment (but it sure would make sense).
You can detect jumps by incoming movement "up". Or you can add a PhotonAnimatorView to sync animations quite easily.
You should check out both demos to get the full picture:
http://doc.exitgames.com/en/pun/current ... g-movement (doesn't explicitly sync animations)
and
http://doc.exitgames.com/en/pun/current ... canim-demo (syncs position and animation explicitly)0