Skip to content

Conversation

ikpil
Copy link
Owner

@ikpil ikpil commented Jun 18, 2025

Joint stiffness is now tunable per joint. This allows specific joints to have increased stiffness, which may be important for some games. Removed b2World_SetJointTuning
Added b2Joint_SetConstraintTuning and b2Joint_GetConstraintTuning. Added b2StoreWorldId and b2LoadWorldId.
Added b2Joint_GetReferenceAngle, b2Joint_SetReferenceAngle, b2Joint_SetLocalAxisA, and b2Joint_GetLocalAxisA. Removed b2WeldJoint_GetReferenceAngle and
b2WeldJoint_SetReferenceAngle.
Added b2SpringDamper math utility function used by the character sample.
Fixed bug in b2SolvePlanes.

Joint stiffness is now tunable per joint. This allows specific joints to
have increased stiffness, which may be important for some games.
Removed `b2World_SetJointTuning`
Added `b2Joint_SetConstraintTuning` and `b2Joint_GetConstraintTuning`.
Added `b2StoreWorldId` and `b2LoadWorldId`.
Added `b2Joint_GetReferenceAngle`, `b2Joint_SetReferenceAngle`,
`b2Joint_SetLocalAxisA`, and `b2Joint_GetLocalAxisA`.
Removed `b2WeldJoint_GetReferenceAngle` and
`b2WeldJoint_SetReferenceAngle`.
Added `b2SpringDamper` math utility function used by the character
sample.
Fixed bug in `b2SolvePlanes`.
@ikpil ikpil merged commit 6861e21 into main Jun 18, 2025
7 checks passed
@ikpil ikpil deleted the pr/tunable-joint-stiffness branch June 18, 2025 13:56
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