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 about around an axis

Is there a way to have an actor rotate around a specified point? My goal is to create a door that rotates about a hinge when the player comes close to it, but I don't know how to have the door rotate around a point other than the center of the door.

Thanks.

Product Version: Not Selected
Tags:
more ▼

asked Jul 11 '14 at 04:20 PM in Blueprint Scripting

avatar image

vaughnva
86 6 7 10

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

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.

more ▼

answered Jul 11 '14 at 04:35 PM

avatar image

Jacky
16.8k 671 167 676

avatar image vaughnva Jul 14 '14 at 07:28 PM

Thanks Jacky, I was able to set the door's pivot on the hinge so it could rotate correctly.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
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