[LayaAirIDE 2.0]快速移动的物体,不能发生碰撞检测,ccd开启也检测不到
let rigfoot=this.foot.addComponent(laya.d3.physics.Rigidbody3D) as laya.d3.physics.Rigidbody3D
rigfoot.isKinematic=true
rigfoot.ccdMotionThreshold=0.001
rigfoot.ccdSweptSphereRadius=100
不能检测碰撞,还是会穿过物体。物体移动是通过控制transform移动的
rigfoot.isKinematic=true
rigfoot.ccdMotionThreshold=0.001
rigfoot.ccdSweptSphereRadius=100
不能检测碰撞,还是会穿过物体。物体移动是通过控制transform移动的
没有找到相关结果
已邀请:
要回复问题请先登录
1 个回复
閑好手游
赞同来自: