Search Unity

  1. We are migrating the Unity Forums to Unity Discussions. On July 12, the Unity Forums will become read-only.

    Please, do not make any changes to your username or email addresses at during this transition time.

    It's still possible to reply to existing private message conversations during the migration, but any new replies you post will be missing after the main migration is complete. We'll do our best to migrate these messages in a follow-up step.

    On July 15, Unity Discussions will become read-only until July 18, when the new design and the migrated forum contents will go live.

    Read our full announcement for more information and let us know if you have any questions.

Question Box2D prismatic and revolute gear joint implementation

Discussion in 'Physics' started by alexanderperrin, Sep 26, 2023.

  1. alexanderperrin


    Dec 15, 2016

    For a while I've been looking to understand if there's any way of implementing the Box2D gear joint within Unity, either via native plugin or as a C# behaviour.

    Is there a way to hook into the internal physics updates for Unity's Box2d implementation to achieve this, or can anyone recommend another way that would allow me to simulate a stable gear joint that runs in Unity's 2D physics simulation?