collisionResults
All the individual PhysicsShape.MoverCollision results for all iterations. Multiple non-unique contacts for the same PhysicsShape may be returned due to iterations, overlapping and casting. This is only populated if PhysicsQuery.WorldMoverInput.collisionResults is true.
읽는 시간 1분최근 업데이트: 한 달 전
Definition
- Type: Property
- Namespace: Unity.U2D.Physics
- Assembly: UnityEngine.PhysicsCore2DModule
public NativeArray<PhysicsShape.MoverCollision> collisionResults { get; }