Transform Local to World Axis
Hello everyone, I'm working on this problem now for days and since I am completely new to Unreal and Blueprints, I have no idea how to solve it. I want to open a sliding door with a HTC Vive Motion Controller by grabbing the knob of the door (StaticMeshComponent (Inherited)) and make it follow the Motion Controller. This already works with the Blueprint I posted below.
My Problem is, when I use this Blueprint class inside the Level and change the orientation of the door there (for example by 90°), the movement isn't working as it should, because the world axis and the local axis of the sliding movement are different. How can I adjust both axes so the doors sliding axis is every time the same no matter what orientation in the world the door has. I could change the location nodes inside the blueprint. but I want this to be done automatically. Is this even possible?
Thank you for your answers!
![Working Blueprint] : /storage/temp/228467-bp.png
Hey there, ideally you want to move the doors in relative space instead of world space, that way it will work in any orientation. If your door is not the root component you can use the Set Relative Location node.
Follow this question
Once you sign in you will be able to subscribe for any updates here