x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

How to rotate an object (door) around another axis (not around 0,0)?

Hello Forum!

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?

Thanks,.. Annotator

Product Version: Not Selected
Tags:
more ▼

asked Dec 19 '14 at 10:17 AM in Blueprint Scripting

avatar image

Annotator
1 1 2 1

(comments are locked)
10|2000 characters needed characters left

1 answer: sort voted first

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"

alt text

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.

Cheers

scene.png (16.3 kB)
more ▼

answered Dec 19 '14 at 12:51 PM

avatar image

Erasio
5.9k 291 86 293

avatar image Annotator Dec 19 '14 at 01:41 PM

thanks for your explanation, I got it. But it was tricky to move the object to 0,0 by tryout in the Transform coordinates. alt text

Is there another/easier possibility to move the object rotation center to coordinate 0,0 of the scene?

Greetings from Vienna,... Annotator

move.png (66.1 kB)
avatar image Erasio Dec 19 '14 at 02:02 PM

Not really. Usually one knows the size of an object or already modeled it the way one wants it (the "center" location already like it should be in game or in editor)

(comments are locked)
10|2000 characters needed characters left
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question