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"

Rotating Child Object

So I have a child attached to a parent object via a spring arm with collision turned on. I have the parent set to location (0,0,0) and I am trying to make the child orbit the parent by rotating the parent. Unfortunately this is not working at all. I'm using alt text in my blueprints, but for some reason this causes the parent to rotate around the spring arm as well and it's just altogether a total goofy mess. Can someone please explain to me what I'm doing wrong? Why would this cause my parent to move at all???

Product Version: UE 4.15
Tags:
more ▼

asked Mar 30 '17 at 06:46 PM in Using UE4

avatar image

siditious
40 8 11 14

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

1 answer: sort voted first

Hey siditious-

The AddActorLocalRotation node will rotate the entire actor (root component and all components below it). If your parent object is the root component and located at the blueprints center (0,0,0) then it should be rotating along its center with the spring arm and child object rotating around it. If you're trying to have the parent object remain stationary while the child rotates around it, then you would want to use the "AddLocalRotation" node with the SpringArm as the target instead.

Cheers

Doug Wilson

more ▼

answered Mar 30 '17 at 07:15 PM

avatar image siditious Mar 30 '17 at 08:03 PM

that worked perfectly, you are a gentleman and a scholar.

(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