[LayaAir 2.0]新版本射线检测不能根据layer检测了
新版本的射线检测
这里面射线检测没有根据layer层
目前是只能给所有碰撞器分组来检测吗?
_this.scene.physicsSimulation.rayCast(_this.ray, _this._outHitResult,_this._distance,_this._collisionGroup);
这里面射线检测没有根据layer层
目前是只能给所有碰撞器分组来检测吗?
_this.scene.physicsSimulation.rayCast(_this.ray, _this._outHitResult,_this._distance,_this._collisionGroup);
没有找到相关结果
已邀请:
要回复问题请先登录
1 个回复
咕噜咕噜
赞同来自: