File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,6 @@ export class Ray {
29
29
* @property {Vec3 } _direction
30
30
*/
31
31
this . _direction = new Vec3 ( )
32
-
33
32
/**
34
33
* The precision of the ray. Used when checking parallelity etc.
35
34
* @property {Number } precision
@@ -98,6 +97,7 @@ export class Ray {
98
97
this . skipBackfaces = ! ! options . skipBackfaces
99
98
this . collisionFilterMask = typeof options . collisionFilterMask !== 'undefined' ? options . collisionFilterMask : - 1
100
99
this . collisionFilterGroup = typeof options . collisionFilterGroup !== 'undefined' ? options . collisionFilterGroup : - 1
100
+ this . checkCollisionResponse = typeof ( options . checkCollisionResponse ) !== 'undefined' ? options . checkCollisionResponse : true ;
101
101
if ( options . from ) {
102
102
this . from . copy ( options . from )
103
103
}
Original file line number Diff line number Diff line change @@ -572,7 +572,7 @@ export class Body extends EventTarget {
572
572
offset . vadd ( this . position , offset )
573
573
574
574
// Get shape world quaternion
575
- shapeOrientations [ i ] . mult ( bodyQuat , orientation )
575
+ bodyQuat . mult ( shapeOrientations [ i ] , orientation ) ;
576
576
577
577
// Get shape AABB
578
578
shape . calculateWorldAABB ( offset , orientation , shapeAABB . lowerBound , shapeAABB . upperBound )
You can’t perform that action at this time.
0 commit comments