cannon.js
cannon.js copied to clipboard
fix computeAABB orientation mult
In Body.js computeAABB(): the order of quaternion multiplication is fixed.
Steps to reproduce computeAABB error with unmodified lib:
-
create a body containing a cylinder shape.
-
when creating the cylinder shape set its localRotation to 45 degrees around z axis.
-
AABB of the body is not enlarged by tilt of the shape.
added one fix for ray.checkCollisionResponse not affected by options
Thanks for these fixes.