Version: Unity 6.5 Alpha (6000.5)
LanguageEnglish
  • C#

PhysicsMath.SetTransformSlow3D

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Declaration

public static void SetTransformSlow3D(PhysicsTransform physicsTransform, Transform transform, TransformPlane transformPlane, bool transformChangedEvent);

Parameters

Parameter Description
physicsTransform The physics transform to use as the source of the pose.
transform The Transform to set.
transformPlane The transform plane to use.
transformChangedEvent By default, no transform changed event will be produced however this behaviour can be overridden with this argument.

Description

Set the Transform position and rotation using the specified TransformPlane. For position, only two axis will be updated with the others remaining unchanged. For rotation, only a single rotation axis will be changed with the others remaining unchanged.

See: PhysicsMath.ToRotationSlow3D and PhysicsWorld.SetTransform.