-
-
Notifications
You must be signed in to change notification settings - Fork 208
Open
Labels
A-DynamicsRelates to rigid body dynamics: motion, mass, constraint solving, joints, CCD, and so onRelates to rigid body dynamics: motion, mass, constraint solving, joints, CCD, and so onC-PerformanceImprovements or questions related to performanceImprovements or questions related to performanceD-ModestA moderate level of difficulty: suitable for simple features or challenging fixesA moderate level of difficulty: suitable for simple features or challenging fixesS-Ready-For-ImplementationThis issue is ready for an implementation PR. Go for it!This issue is ready for an implementation PR. Go for it!
Description
Similar to static bodies, the constraint solver does not need to write to kinematic body state. This means that we could ignore them from graph coloring, since we can have read-only access to the body state from multiple threads without race conditions. This would improve parallelism and multi-threaded scaling for large kinematic bodies touching many dynamic bodies.
See erincatto/box2d#970 for an equivalent change and "kinematic washer" sample in Box2D.
Metadata
Metadata
Assignees
Labels
A-DynamicsRelates to rigid body dynamics: motion, mass, constraint solving, joints, CCD, and so onRelates to rigid body dynamics: motion, mass, constraint solving, joints, CCD, and so onC-PerformanceImprovements or questions related to performanceImprovements or questions related to performanceD-ModestA moderate level of difficulty: suitable for simple features or challenging fixesA moderate level of difficulty: suitable for simple features or challenging fixesS-Ready-For-ImplementationThis issue is ready for an implementation PR. Go for it!This issue is ready for an implementation PR. Go for it!