ElectricNightOwl / ArmSwinger

ArmSwinger is an artificial VR locomotion library developed on Unity 5.4. ArmSwinger allows you to use your arms to control your position in 3D space in a natural way with minimal disorientation.
http://electricnightowl.com/armswinger/
MIT License
101 stars 30 forks source link

Falling animation #49

Closed lucasdoppelt closed 7 years ago

lucasdoppelt commented 7 years ago

Hi,

First, thanks for this very nice script ! It is very well done !

I would like to make my character fall when he goes off cliff. Right now when the player fall from a platform he is instantly teleported on the ground. I would like to have the natural falling animation. How can it be acheived ??

Thanks a lot,

Lucas

kjack9 commented 7 years ago

Hi Lucas,

ArmSwinger uses it's own "physics" calculations, and does not use a rigidbody that CAN fall. If you disable falling prevention, the camera will continue to snap to the ground, as you noticed.

If you're looking for something that will allow jumping, falling, etc might I recommend MoveInPlace (which is a part of VRTK)? It accomplishes something similar to ArmSwinger using a rigidbody with physics applied.

Sorry, but this feature is not possible with the way ArmSwinger is currently designed.

-KJack