文档

Unity Engine

Unity Engine

PhysicsShape.MoverCollision

Collision results optionally returned from PhysicsWorld.CastMover in PhysicsQuery.WorldMoverResult.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Struct
  • Namespace: Unity.U2D.Physics
  • Assembly: UnityEngine.PhysicsCore2DModule
public readonly struct PhysicsShape.MoverCollision

Properties

Property

Description

normalThe collision normal at the collision point on the shape.
pointThe collision point on the shape.
shapeThe shape the mover collided with.