기술 자료

Unity Engine

Unity Engine

PhysicsBody.MassConfiguration

This holds the mass configuration computed for a PhysicsBody.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

public struct PhysicsBody.MassConfiguration : IEquatable<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.

Static Properties

Property

Description

defaultConfigurationGet a default mass configuration with a mass of one, a rotational inertia of one and a centroid at the origin.