Announcement

Collapse
No announcement yet.

Replication of skeletal mesh physics (ragdoll)

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Replication of skeletal mesh physics (ragdoll)

    I'm make door as skeletal mesh with joint. Server work as dedicaded. Unreal compiled from github sources. Physics is not synced.

    VIDEO:


    CODE: https://gist.github.com/VladimirPobe...99c5f0ebdbf216

    ASSET: https://drive.google.com/file/d/0B7H...ew?usp=sharing

    Why I cannot make this simple thing on Unreal Engine? It not support physics replication? It cannot send simple transformation to client's mesh? I'm try to make this simple thing over 6 (SIX!) mounths....
    Last edited by cin; 03-06-2017, 11:50 PM.

    #2
    Game engines by default will not sync physics online.
    Also, you don't really need physics for something like this; a simple replicated boolean value for this or a rpc would suffice to trigger a timeline to open/close the door.
    | Savior | USQLite | FSM | Object Pool | Sound Occlusion | Property Transfer | Magic Nodes | MORE |

    Comment


      #3
      Physics replication and syncing is tricky thing.
      Even in AAA titles there tends to be a lot of smoke and mirrors going on.

      You will need to either simplify the door setup (as mentioned by Bruno) or rig up some client side prediction and syncing method with the server.
      If the latter, search the forums.
      There are some good topics on this subject
      Rule#21: Be polite, be professional, but have a plan to kill everyone you meet.

      Comment


        #4
        BrUnO XaVIeR, Kris, by another words - Unreal Engine not support ragdoll replication?
        But Advanced Vehicle example project is work fine (car is skeletal mesh with joints). Why?

        Comment


          #5
          Is the advanced vehicle replicating all the bones or just the overall position of the vehicle once calculated and letting the client determine the position of the wheels?
          Rule#21: Be polite, be professional, but have a plan to kill everyone you meet.

          Comment

          Working...
          X