Hinge Joints, Doors, etc...?

AWWalker

Another White Walker (AWWalker)
Featured Contributor
Messages
430
Reactions
2,534
Points
93
Website
www.patreon.com
Is there a way create hinge joints in unity and actually get them to work in VAM? Ie… Car doors? Room Doors? Hanging Swing? I had partial success in the past and can't remember for the life of me what I did.
 
For doors its just a matter of rotating them correctly. No need for actual physics joints. If the door is a separate CustomUnityAsset you can just use an AnimationPattern in VaM to animate (rotate) the door. If the door is part of a larger object (say a car) but still its own Unity GameObject, you can use a tiny script fo find door in the CustomUnityAsset and rotate it there. (See my SecretRoom environment for an example how to have a script modify something inside a CustomUnityAsset)
 
Back
Top Bottom