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 do I connect two objects and make them rotate?

So I have two objects and I want them to be connected and be able to rotate BOTH of them from left to right. One object acts as the parent object and the other the child, so that when I rotate the parent object the child object moves with it but when I move the child object, it rotates independently from the parent object. Help would be much appreciated, thanks.

Product Version: UE 4.19
Tags:
more ▼

asked Jul 09 '18 at 05:38 PM in Using UE4

avatar image

ParodoxNova
3 1 2

avatar image Squidy7777 Jul 09 '18 at 07:00 PM

are they touching in the same spot everytime cus if that is true that you can have the game replace the model when they touch if they do that.

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

1 answer: sort voted first

Use the AttachToActor node, when rotating child, use Relative Rotation.

more ▼

answered Jul 09 '18 at 06:35 PM

avatar image

Everynone
15.2k 77 25 62

avatar image ParodoxNova Jul 12 '18 at 01:36 PM

I did that and it seems to work however, the child arm now jumps to the other side of the room while the parent arm stays in its original position once I click play. Is there a reason for this?

(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