Fix velocity constraints for ball joints involving bodies with non-uniform angular inertia.

Fix #86
This commit is contained in:
Crozet Sébastien
2021-01-20 17:03:36 +01:00
parent 0ade350b5f
commit d69b5876f3
4 changed files with 55 additions and 43 deletions

View File

@@ -32,7 +32,7 @@ impl Capsule {
base_color: color,
gfx: node,
collider,
delta,
delta: delta * capsule.transform_wrt_y(),
};
res.gfx.set_color(color.x, color.y, color.z);