Skip to content
This repository was archived by the owner on Jun 29, 2024. It is now read-only.
This repository was archived by the owner on Jun 29, 2024. It is now read-only.

PinJoint2D has an odd "self stabalizing" behavior. #104

@SirLich

Description

@SirLich

Describe the bug
When using a PinJoin2D to connect two Rigid Bodies, Box2D will "self stabilize" in a way that's inconsistent with Godot Physics.

To Reproduce
Steps to reproduce the behavior:

  1. Download example project
  2. Press 'Play'. You can view the unicycle crash to the ground (Godot Physics)
  3. Change physics to Box2D (included in the project already)
  4. Press 'Play'. You can view the unicycle self-stabilize itself, and drive around the test area.

Box2D:

image

Godot:

image

Expected behavior
While somewhat novel, I expect the Box2D PinJoin2D to function more similarly to Godot Physics.

Project
uni.zip

Versions (please complete the following information):

  • OS: Windows
  • Godot 4.2.1-stable
  • Box2d 0.9.9 (from plugin.cfg)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions