• Hi Guest!

    We are extremely excited to announce the release of our first Beta1.1 and the first release of our Public AddonKit!
    To participate in the Beta, a subscription to the Entertainer or Creator Tier is required. For access to the Public AddonKit you must be a Creator tier member. 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.
  • Hi Guest!

    VaM2 Resource Categories have now been added to the Hub! For information on posting VaM2 resources and details about VaM2 related changes to our Community Forums, please see our official announcement here.

Hinge Joints, Doors, etc...?

AWWalker

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