기술 자료

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분최근 업데이트: 한 달 전

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.