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

PhysicsWorld.SetTransformAccess

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 SetTransformAccess(ref TransformAccess transformAccess, ref Vector3 position, bool transformChangedEvent);

Parameters

Parameter Description
transformAccess The Jobs.TransformAccessused to change the transform.
position The global position to set the transform to.
transformChangedEvent By default, no transform changed event will be produced however this behaviour can be overridden with this argument.

Description

Set the Jobs.TransformAccess position without causing a TransformChangeEvent to be generated. See PhysicsWorld.RegisterTransformChange.


Declaration

public static void SetTransformAccess(ref TransformAccess transformAccess, ref Vector3 position, ref Quaternion rotation, bool transformChangedEvent);

Parameters

Parameter Description
transformAccess The Jobs.TransformAccessused to change the transform.
position The global position to set the transform to.
rotation The global rotation to set the transform to.
transformChangedEvent By default, no transform changed event will be produced however this behaviour can be overridden with this argument.

Description

Set the Jobs.TransformAccess position and rotation without causing a TransformChangeEvent to be generated. See PhysicsWorld.RegisterTransformChange.