Skip to content

Conversation

@panii
Copy link

@panii panii commented Jul 7, 2025

Thanks to phaser for providing the js version of box2d version 3.
When I used RevoluteJoint, the calculation results of left turn and right turn were inconsistent. After checking the code, I found that it was due to variable errors. Here lowerImpulse should be upperImpulse.
In addition, I found that the original version of box2d 3.1.1 has also modified the variables here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant