• Hi Guest!

    We are extremely excited to announce the release of our first Beta for VaM2, the next generation of Virt-A-Mate which is currently in development.
    To participate in the Beta, a subscription to the Entertainer or Creator Tier is required. Once subscribed, download instructions can be found here.

    Click here for information and guides regarding the VaM2 beta. Join our Discord server for more announcements and community discussion about VaM2.

Hinge Joints, Doors, etc...?

AWWalker

Another White Walker (AWWalker)
Featured Contributor
Joined
Jun 1, 2020
Messages
435
Reactions
2,870
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