Struct BodyFrame
A target in the space of a rigid body that will align with a corresponding target in the space of the other body to which it is constrained.
Implements
Inherited Members
Namespace: Unity.Physics
Assembly: solution.dll
Syntax
public struct BodyFrame : IEquatable<BodyFrame>
Constructors
Name | Description |
---|---|
Body |
Constructor. |
Fields
Name | Description |
---|---|
Axis | The bind pose orientation of the joint's x-axis in the space of its rigid body. |
Identity | The identity Body |
Perpendicular |
The bind pose orientation of the joint's y-axis in the space of its rigid body. |
Position | The bind pose anchor or target position of the joint in the space of its rigid body. |
Methods
Name | Description |
---|---|
As |
Converts this object to a rigid transform. |
Equals(object) | Tests if this object is considered equal to another. |
Equals(Body |
Tests if this BodyFrame is considered equal to another. |
Get |
Calculates a hash code for this object. |
To |
Convert this object into a string representation. |
Operators
Name | Description |
---|---|
implicit operator Body |
Implicit cast that converts the given RigidTransform to a BodyFrame. |