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"

Actors attached together can't replicate their relative location to the client when ‘simulate physics’ is enabled

 In my project, I wanted to make some pickable objects, and those objects can be sticked together to build another complicated unit. So I spawned an actor named container, and attached the "A" "B" "C" child actors to it, just like the  belowing picture .

alt text

 All the four (or more) actors were inherited from StaticMeshActor. So they all had a static mesh for their root component. And by the blueprint node “attach to component”, they sticked together with their relative location and rotation unchanged. Then I enabled "simulate physics" on container actor's mesh. I want to see them falling down and bouncing and rolling together, and I want to pick them up as a combination unit. Everything were right on server, but not on client.
 I have replicated their mesh  and  movement. If I turn off  "simulate physics", the four actor will stand on their right place immediately! But when  "simulate physics" is  enabled, A B and C actors will overlap at the origin of  container's coordinate  without any rotation.
 I have even tried to change all the actors into Actor instead of StaticMeshActor. But "simulate physics" and relative transformation were still in conflict. What shall I do?

Product Version: UE 4.19
111.jpg (579.9 kB)
more ▼

asked Aug 13 '18 at 07:24 AM in Blueprint Scripting

avatar image

1 1

avatar image 悠扬的风 Aug 14 '18 at 10:34 AM

Is there anyone can help me?

avatar image 悠扬的风 Sep 03 '18 at 02:47 AM

I am still stuck on this trouble. Who can help me?

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

0 answers: sort voted first
Be the first one to answer this question
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