기술 자료

Unity Engine

Unity Engine

PhysicsQuery.ShapeSweep

Describes the motion of a shape for a time-of-impact calculation. The shape is defined with respect to the body origin.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Struct
  • Namespace: Unity.U2D.Physics
  • Assembly: UnityEngine.PhysicsCore2DModule
public struct PhysicsQuery.ShapeSweep

Properties

Property

Description

localCOMThe local center of mass.
positionEndThe world center of mass end position.
positionStartThe world center of mass start position.
rotationEndThe world rotation end.
rotationStartThe world rotation start.