文档

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

public struct PhysicsQuery.ShapeSweep : IEquatable<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.