ドキュメント

Unity Engine

Unity Engine

PhysicsBody.MassConfiguration

This holds the mass configuration computed for a PhysicsBody.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Struct
  • Namespace: Unity.U2D.Physics
  • Assembly: UnityEngine.PhysicsCore2DModule
public struct PhysicsBody.MassConfiguration

Properties

Property

Description

centerThe position of the shape's centroid relative to the shape's origin.
massThe mass of the shape, usually in kilograms.
rotationalInertiaThe rotational inertia of the shape about the shape center.