stride3d / stride

Stride (formerly Xenko), a free and open-source cross-platform C# game engine.
https://stride3d.net
MIT License
6.65k stars 957 forks source link

BepuPhysics: Inertia Tensor-Based Rotation Lock in 2D Physics #2495

Open VaclavElias opened 1 month ago

VaclavElias commented 1 month ago

Is your feature request related to a problem? Please describe. Comment from Norbo:

One point to consider: if you're using the inertia tensor-based rotation lock, you can bypass the need for orientation/angular velocity control. When an object has an infinite moment of inertia around a specific axis, no dynamic forces will be able to generate any angular velocity along that axis.

Original note: you can do away with the orientation/angular velocity control if using the inertia tensor based rotation lock; no dynamic forces will manage to give a body nonzero angular velocity around an axis with an infinite moment of inertia

Describe the solution you'd like n/a

Describe alternatives you've considered n/a

Additional context 2D improvements