Documentation

Unity Engine


User Manual

Script Reference

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.
Read time 1 minuteLast updated 12 days ago

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.