How to rotate an object (door) around another axis (not around 0,0)?
There was a similar question in the past, and I want to know is there another explanation than
"The best practice would be to set the door's pivot on where the hinges are in your modeling program. If you dont want to do that you can add a Scene component to your BP to use as a null object, set its location to the door hinges, attach the door to that scene component and rotate the scene component." from Jacky.
I cannot set the door's pivot on where the hinges are in my modeling program.
How do I insert a "Scene component"? and do the other mentioned stuff? Can anybody explain this a litte more detailed step by step, maybe with pictures?
Or is there another method already?
asked Dec 19 '14 at 10:17 AM in Blueprint Scripting
It's rather simple really :)
You create your blueprint. In the components tab you add your static mesh (by first adding a static mesh component and then selecting your mesh there). This will replace the DefaultSceneRoot and you can't modify the position or scale of your mesh anymore.
Search for "Scene"
As the text explains this is nothing but a simple point in your level and will not impact anything. You then move this on top of your static mesh (simply click and drag & drop it on top of it). It will have a tooltip saying "Drop here to make Scene1 the new root component". Let go and your scene is the new root. From now on you can again modify your static mesh and change the position and so on.
Of course you can also get the scene component first. Then you wouldn't have to move it around but I wanted to explain that as well so in case it happens you know how to do it ;)
I hope this helps.
answered Dec 19 '14 at 12:51 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here