• Hi Guest!

    Please be aware that we have released another critical security patch for VaM. We strongly recommend updating to version 1.22.0.12 using the VaM_Updater found in your installation folder.

    Details about the security patch can be found here.

Hinge Joints, Doors, etc...?

AWWalker

Another White Walker (AWWalker)
Featured Contributor
Messages
433
Reactions
2,799
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