Physics物理学
- bounceThreshold
- CapsuleCastAll
- CapsuleCast
- CheckCapsule
- CheckSphere
- GetIgnoreLayerCollision
- gravity
- IgnoreCollision
- IgnoreLayerCollision
- Linecast
- maxAngularVelocity
- minPenetrationForPenalty
- OverlapSphere
- RaycastAll
- Raycast
- sleepAngularVelocity
- sleepVelocity
- solverIterationCount
- SphereCastAll
- SphereCast
Physics.GetIgnoreLayerCollision 获取忽略碰撞层
static function GetIgnoreLayerCollision (layer1 : int, layer2 : int) : bool
Description描述
Are collisions between layer1 and layer2 being ignored?
是否层1和层2之间的碰撞检测被忽略?
Returns the value set by Physics.IgnoreLayerCollision or in the Physics inspector.
返回是否在层1和层2之间忽略碰撞检测.
最后修改:2011年4月9日 Saturday 12:44