Skip to content

Conversation

ikpil
Copy link
Owner

@ikpil ikpil commented Aug 17, 2025

Kinematic perf (erincatto/box2d#970)

  • b2Shape_SetMaterial -> b2Shape_SetUserMaterial
  • Reworked surface material access on chain shapes
  • Removed mouse joint. Functionality is now covered by the motor joint.
  • Added b2DynamicTree_QueryAll to support debug draw for shapes that don't collide
  • The user material id is now a 64 bits
  • Fixed crash when samples app is minimized
  • Added kinematic washer sample
  • Fix b2Body_SetType not working erincatto/box2d#967
  • #968 - draw shapes with 0 category bits and draw sleeping contacts
  • Kinematic bodies no longer enter graph coloring
  • The joint and contact solvers no longer write the state of kinematic bodies
  • Large kinematic bodies touching many dynamic bodies now has better multithreaded scaling
  • Joints between two non-dynamic bodies no longer simulate
  • Minor island splitting optimization suggested by Dirk, use the island id instead of a bool mark
  • Joints now have a constraint damping ratio of 2.0 instead of 0. Intended to reduce overshoot when limits are violated.
  • Restored island debug draw

Kinematic perf (erincatto/box2d#970)

- b2Shape_SetMaterial -> b2Shape_SetUserMaterial
- Reworked surface material access on chain shapes
- Removed mouse joint. Functionality is now covered by the motor joint.
- Added b2DynamicTree_QueryAll to support debug draw for shapes that
don't collide
- The user material id is now a 64 bits
- Fixed crash when samples app is minimized
- Added kinematic washer sample
- Fix erincatto/box2d#967
- #968 - draw shapes with 0 category bits and draw sleeping contacts
- Kinematic bodies no longer enter graph coloring
- The joint and contact solvers no longer write the state of kinematic
bodies
- Large kinematic bodies touching many dynamic bodies now has better
multithreaded scaling
- Joints between two non-dynamic bodies no longer simulate
- Minor island splitting optimization suggested by Dirk, use the island
id instead of a bool mark
- Joints now have a constraint damping ratio of 2.0 instead of 0.
Intended to reduce overshoot when limits are violated.
- Restored island debug draw
@ikpil ikpil merged commit 07e72da into main Aug 17, 2025
7 checks passed
@ikpil ikpil deleted the pr/Kinematic-perf-970 branch August 17, 2025 10:40
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.

b2Body_SetType not working
1 participant