文档

Unity Engine

Unity Engine

localCenterOfMass

The center of mass position of the body in local space. This can be accessed as a union of PhysicsBody.mass, PhysicsBody.rotationalInertia and PhysicsBody.localCenterOfMass using PhysicsBody.massConfiguration.
阅读时间1 分钟最后更新于 1 个月前

Definition

public Vector2 localCenterOfMass { get; set; }