Skip to content

RigidbodySettings

Tommo J. Phillips edited this page Oct 22, 2023 · 2 revisions

RigidbodySettings

Namespace: TommoJProductions.ModApi

Represents the rigidbody settings.

public class RigidbodySettings

Inheritance ObjectRigidbodySettings

Fields

constraints

the rigidbody FREEZE constraints.

public RigidbodyConstraints constraints;

mass

the mass.

public float mass;

drag

the drag of the rigidbody.

public float drag;

angularDrag

the angular drag of the rigidbody.

public float angularDrag;

isKinematic

is the rigidbody kinematic.

public bool isKinematic;

Constructors

RigidbodySettings()

public RigidbodySettings()
Clone this wiki locally