Navigation überspringen
200ms of simulated network latency. Same test. Different physics engine.
0:00 / 0:47

200ms of simulated network latency. Same test. Different physics engine.

Antonio Lattanzio

@alattanzio2045 Follower

Auf X besuchen

20.337 Aufrufe

200ms of simulated network latency. Same test. Different physics engine. The first half shows Unreal's Chaos physics. Notice the visible corrections and jitter when interacting with overlapping surfaces. In the second half, I switch to Box3D (debug rendering enabled) under the same network conditions. The corrections largely disappear and the movement remains much more stable. This is still early research, and I'm sure Chaos has tuning options I haven't explored yet. But Box3D's deterministic simulation and lightweight design are proving to be very promising for networked gameplay. I've been building these experiments in my spare time, and I plan to open-source the Unreal Engine integration soon so the community can experiment with it too. Huge thanks to emptyvessel for fostering a culture of pushing technology forward. Working on DEFECT every day inspires a lot of these experiments! If you enjoy this kind of technical content, a repost or a wishlist for the games my team and I are building is always appreciated. ❤️ #gamedev #unrealengine

23 Kommentare

Kommentare aus dem Originalbeitrag auf X (Twitter)

  • Profilbild von Steve Robinson

    @St3ve_R

    *Listening* This looks so coherent. Nice, man. 🔥

    4 Likes

  • Profilbild von Antonio Lattanzio

    @alattanzio

    Thanks man! 🙏

    2 Likes

  • Profilbild von Anthony Emedobi

    @Tonivisualgod

    This is solid chief 🙌

    3 Likes

  • Profilbild von Antonio Lattanzio

    @alattanzio

    Thanks man! Hopefully it will become more solid soon 😃

    2 Likes

  • Profilbild von Anthony Emedobi

    @Tonivisualgod

    Sure mate 🫡

    1 Like

  • Profilbild von Daniele Benegiamo

    @UNA_daniele

    The difference is impressive. Great job!

    2 Likes

  • Profilbild von Antonio Lattanzio

    @alattanzio

    Thanks, man! I believe Chaos probably has a way to avoid this, but compared to Box3D, it feels a bit overengineered, which can make things more frustrating than they need to be

  • Profilbild von Daniele Benegiamo

    @UNA_daniele

    Absolutely. About two years ago, I studied the Chaos implementation to understand how to use it properly, since there was no documentation available. They made some “peculiar” choices...

    1 Like

  • Profilbild von Daniele Benegiamo

    @UNA_daniele

    When they were switching from PhysX to Chaos, the entire engine - for some versions - used a single, large interface as the physics API. A bridge between the two implementations. I was hoping this was the beginning of a plugin-based physics system, but instead...

    1 Like

  • Profilbild von Barak

    @iBarakXYZ

    This is really really cool! I have an Unreal project and I think this can really help. Thanks for the awesome work - definitely gonna check this out once open source lands! 👑👑

    1 Like

  • Profilbild von Caleb Longmire

    @clongmire42

    Real question is how to make the swap, cause as soon as someone shows me how I sure will.

    1 Like

  • Profilbild von Antonio Lattanzio

    @alattanzio

    Please follow me as I will post the open source plugin as soon as is in a decent state :)

    1 Like

  • Profilbild von Morphtek

    @Morphteksystems

    what solver settings did you have on the chaos ?

    1 Like

  • Profilbild von Antonio Lattanzio

    @alattanzio

    I am using the default settings! Solver Iterations • Position Iterations: 4 • Velocity Iterations: 1 • Projection Iterations: 1 Collision & Spacing • Collision Margin Fraction: 0.05 • Collision Margin Max: 2.0 • Contact Search Distance: 3.0 Physics Substepping • Max Physics Delta Time: 0.033333 • Min Physics Delta Time: 0.001333 • Substepping: Disabled (Default) • Cluster Connection Factor: 1.0

    1 Like

  • Profilbild von 창새, 슈퍼둘기맨

    @SpeArBiRD

    우와. 얼마 전에 멋진 파괴효과와 거미 영상을 추천으로 봤었는데 안토니오님 이었군요. 결과물들 정말 멋지게 잘 봤어요. 🤩

    1 Like

  • Profilbild von Antonio Lattanzio

    @alattanzio

    정말 감사합니다! 😊 추천으로 보시게 됐다니 정말 기쁘네요. 앞으로도 더 멋진 결과물 보여드릴 수 있도록 열심히 만들겠습니다! 🤩

  • Profilbild von over

    @overdyers

    well its caused chaos for a reason

    1 Like

  • Profilbild von Filippo Tarpini

    @FilippoTarpini

    Nice. Is Box3D simulation deterministic even at different frame rates, or do both instances need to have the exact same fps?

  • Profilbild von unemployable

    @ChebzReal

    Too much GPU wasted on the ass crack, that's your bottleneck

  • Profilbild von typeshi

    @lohaworld

    Is this music necessary