Skip to content

Commit

Permalink
fix ray set up checkCollisionResponse
Browse files Browse the repository at this point in the history
  • Loading branch information
JayceLai committed Jun 16, 2020
1 parent 4539ca8 commit b740bd8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/collision/Ray.js
Expand Up @@ -107,6 +107,7 @@ Ray.prototype.intersectWorld = function (world, options) {
this.mode = options.mode || Ray.ANY;
this.result = options.result || new RaycastResult();
this.skipBackfaces = !!options.skipBackfaces;
this.checkCollisionResponse = !!options.checkCollisionResponse;
this.collisionFilterMask = typeof(options.collisionFilterMask) !== 'undefined' ? options.collisionFilterMask : -1;
this.collisionFilterGroup = typeof(options.collisionFilterGroup) !== 'undefined' ? options.collisionFilterGroup : -1;
if(options.from){
Expand Down

0 comments on commit b740bd8

Please sign in to comment.