文档

Unity Engine

Unity Engine

WritePose()

Write the full 3D position and rotation of the body to the currently set PhysicsBody.transformObject. If no PhysicsBody.transformObject is assigned, this method will do nothing and false will be returned.
阅读时间1 分钟最后更新于 24 天前

Definition

  • Type: Method
  • Namespace: Unity.U2D.Physics
  • Assembly: UnityEngine.PhysicsCore2DModule
public bool WritePose()

Returns

Type

Description

boolWhether the PhysicsBody.transformObject was written to.