cannon.js icon indicating copy to clipboard operation
cannon.js copied to clipboard

fix computeAABB orientation mult

Open tinglei8 opened this issue 5 years ago • 2 comments

In Body.js computeAABB(): the order of quaternion multiplication is fixed.

Steps to reproduce computeAABB error with unmodified lib:

  1. create a body containing a cylinder shape.

  2. when creating the cylinder shape set its localRotation to 45 degrees around z axis.

  3. AABB of the body is not enlarged by tilt of the shape.

tinglei8 avatar Dec 01 '19 12:12 tinglei8

added one fix for ray.checkCollisionResponse not affected by options

tinglei8 avatar Dec 08 '19 04:12 tinglei8

Thanks for these fixes.

swift502 avatar Dec 08 '19 10:12 swift502