Hello everyone.

We have decided to phase out the Mixed Reality Forums over the next few months in favor of other ways to connect with us.

The first way we want to connect with you is our mixed reality developer program, which you can sign up for at https://aka.ms/IWantMR.

The plan between now and the beginning of May is to clean up old, unanswered questions that are no longer relevant. The forums will remain open and usable.

On May 1st we will be locking the forums to new posts and replies. They will remain available for another three months for the purposes of searching them, and then they will be closed altogether on August 1st.

So, where does that leave our awesome community to ask questions? Well, there are a few places we want to engage with you. For technical questions, please use Stack Overflow, and tag your questions using either hololens or windows-mixed-reality. If you want to join in discussions, please do so in the HoloDevelopers Slack, which you can join by going to https://aka.ms/holodevelopers. And always feel free to hit us up on Twitter @MxdRealityDev.

How to make a door open vertically but still stay attached to the object.

Hello everyone,

I am very new to unity and am currently using Hololens. I wanted to on click have the Sls Mercedes doors open which open vertically like a butterfly. I know how to do it on click but I don’t know how to create the animation because when I rotate the door up the whole door rotated and the top part that is supposed to be attached to the body of the car is not attached and also moves.

Is there any way I could attach the door to the main body of the car to have it open vertically like a butterfly but only have half the door rotate up and the other half stays fixed?

Thank you

Tagged:

Answers

  • Hey Artur,
    These type of questions are probably more often addressed on the unity forums, but that being said: You should create an empty gameobject at the top of the top and have the door as a child to the empty gameobject. When you rotate the empty gameobject it will rotate from the top.

Sign In or Register to comment.