ドキュメント

Unity Engine

Unity Engine

SetAndWriteTransform(PhysicsTransform)

Set the full transform of the body composed of position and rotation and also write to the associated PhysicsBody.transformObject. The PhysicsBody.transformObject won't be written to if it isn't assigned or the PhysicsWorld.transformWriteMode are off. The body will always be updated however. See PhysicsBody.transformObject.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

public bool SetAndWriteTransform(PhysicsTransform transform)

Parameters

The full transform of the body composed of position and rotation.

Returns

Type

Description

boolWhether the PhysicsBody.transformObject was written to.