| Method |
Description |
| AngularVelocityToQuaternion |
Calculate a Quaternion given a 2D angular velocity and a time to integrate over using the selected transform plane.
If PhysicsWorld.TransformPlane.Custom is used, PhysicsWorld.TransformPlane.XY will be used instead which may not provide the correct results.
|
| Atan2 |
Calculate the arc-tangent i.e. the angle of the provided slope y/x.
This operates as deterministically as possible across platforms.
|
| CosSin |
Calculate both the Cosine and Sine of the specified angle.
|
| GetRelativeMatrix |
Get the relative transformation matrix between the two specified transforms using the specified transform plane.
If PhysicsWorld.TransformPlane.Custom is used, PhysicsWorld.TransformPlane.XY will be used instead which may not provide the correct results.
|
| GetRotationAxes |
Get the used rotation axes, given the specified transform plane.
This is the inverse of PhysicsMath.GetRotationIgnoredAxes.
If PhysicsWorld.TransformPlane.Custom is used, PhysicsWorld.TransformPlane.XY will be used instead which may not provide the correct results.
|
| GetRotationIgnoredAxes |
Get the ignored rotation axes, given the specified transform plane.
This is the inverse of PhysicsMath.GetRotationAxes.
If PhysicsWorld.TransformPlane.Custom is used, PhysicsWorld.TransformPlane.XY will be used instead which may not provide the correct results.
|
| GetTranslationAxes |
Get the used translation axes, given the specified transform plane.
This is the inverse of PhysicsMath.GetTranslationIgnoredAxes.
If PhysicsWorld.TransformPlane.Custom is used, PhysicsWorld.TransformPlane.XY will be used instead which may not provide the correct results.
|
| GetTranslationIgnoredAxes |
Get the ignored translation axes, given the specified transform plane.
This is the inverse of PhysicsMath.GetTranslationAxes.
If PhysicsWorld.TransformPlane.Custom is used, PhysicsWorld.TransformPlane.XY will be used instead which may not provide the correct results.
|
| GetTranslationIgnoredAxis |
Get the ignored translation axis, given the specified transform plane.
If PhysicsWorld.TransformPlane.Custom is used, PhysicsWorld.TransformPlane.XY will be used instead which may not provide the correct results.
|
| MaxAbsComponent |
Get the maximum absolute value component from the specified vector.
|
| MinAbsComponent |
Get the minimum absolute value component from the specified vector.
|
| SpringDamper |
Calculate a one-dimensional mass-spring-damper simulation which drives towards a zero translation.
You can then compute the new position using: "translation += newSpeed * deltaTime;"
|
| Swizzle |
Transform a 3D position into a 3D position using the selected transform plane.
If PhysicsWorld.TransformPlane.Custom is used, PhysicsWorld.TransformPlane.XY will be used instead which may not provide the correct results.
|
| ToDegrees |
Convert radians to degrees.
This operates as deterministically as possible across platforms.
See PhysicsMath.ToRadians.
|
| ToPhysicsTransform |
Transform a 3D Transform position and rotation to a 2D PhysicsTransform.
Scale is not part of a PhysicsTransform therefore it is ignored.
If PhysicsWorld.TransformPlane.Custom is used, PhysicsWorld.TransformPlane.XY will be used instead which may not provide the correct results.
|
| ToPosition2D |
Transform a 3D position into a 2D position using the selected transform plane.
If PhysicsWorld.TransformPlane.Custom is used, PhysicsWorld.TransformPlane.XY will be used instead which may not provide the correct results.
|
| ToPosition3D |
Transform a 2D position into a 3D position using the selected transform plane.
If PhysicsWorld.TransformPlane.Custom is used, PhysicsWorld.TransformPlane.XY will be used instead which may not provide the correct results.
|
| ToRadians |
Convert degrees to radians.
This operates as deterministically as possible across platforms.
See PhysicsMath.ToDegrees.
|
| ToRotation2D |
Transform a 3D rotation into a 2D angle using the selected transform plane.
If PhysicsWorld.TransformPlane.Custom is used, PhysicsWorld.TransformPlane.XY will be used instead which may not provide the correct results.
|
| ToRotationFast3D |
Transform a 2D angle into a 3D rotation using the selected transform plane (Fast).
The transformation is fast because the rotation is simplified by the fact that only a single axis of rotation is handled. All other axis rotations are reset to zero.
If PhysicsWorld.TransformPlane.Custom is used, PhysicsWorld.TransformPlane.XY will be used instead which may not provide the correct results.
|
| ToRotationSlow3D |
Transform a 2D angle into a 3D rotation using the selected transform plane (Slow).
The transformation is slower because the rotation is more complex due to the fact that changing a single axis of rotation requires it to not affect any other axis rotations.
If PhysicsWorld.TransformPlane.Custom is used, PhysicsWorld.TransformPlane.XY will be used instead which may not provide the correct results.
|