ドキュメント

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 分最終更新 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.