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 can I spawn an actor rotated around a point?

I am trying to spawn in walls to build a structure relative to a point. I have a root actor rotated 180 degrees and I want to spawn the walls relative to that rotation for example, 100, 50, 0 would be -100, -50, 0. I want to be able to get the rotation of the root actor and have it figure out where to spawn the walls relative to that rotation.

Product Version: UE 4.19
Tags:
more ▼

asked Apr 25 '18 at 04:38 AM in Using UE4

avatar image

Fr8TrainWTF
1 2 2

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

1 answer: sort voted first

You can set spawned actor rotation (and other transform values). Here is screen:

alt text

To do this, hover mouse over Transform, click right mouse button and click SPLIT. Do it again with Rotation, split again - you will have something like above. Do same steps with your source actor Rotation (split).

Now you can add values to X,Y,Z. You can add this like on sample or use vars or other dynamic parameters.

more ▼

answered Apr 25 '18 at 04:23 PM

avatar image

Vaheva
1.2k 23 24 42

(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