networked-aframe / naf-valid-avatars

Example of using realistic animated avatars in networked-aframe.
https://naf-valid-avatars.glitch.me
MIT License
10 stars 0 forks source link

Specific animations for walking left and right #12

Open vincentfretin opened 6 months ago

vincentfretin commented 6 months ago

Use moved evt.detail.velocity to move lef and, right with the relevant animation LeftStrafeWalk and RightStrafeWalk. https://github.com/mozilla/hubs/pull/6428/files#diff-a3217779b841e46543be106a881a19d15c31420d70a39c922c0a438535e91e17 code is quite similar to what I'm doing in player-info.