enum Eagle::Physics3D::BodyType

Overview

How a body moves: Static, Kinematic (moved by code) or Dynamic (moved by the simulation).

Defined in:

eagle/physics/physics3d.cr

Enum Members

Static = 0

Never moves.

Kinematic = 1

Moved by your code.

Dynamic = 2

Moved by the simulation.

Instance Method Summary

Instance Method Detail

def dynamic? #

Returns true if this enum value equals Dynamic


def kinematic? #

Returns true if this enum value equals Kinematic


def static? #

Returns true if this enum value equals Static