FreezeMode

    RigidBody3D.swift:31
    enum FreezeMode

    Cases

    • case `static`

      Static body freeze mode (default). The body is not affected by gravity and forces. It can be only moved by user code and doesn’t collide with other bodies along its path.

    • case kinematic

      Kinematic body freeze mode. Similar to .static, but collides with other bodies along its path when moved. Useful for a frozen body that needs to be animated.

    Other members in extension

    View members

    Hide members

    This section is hidden by default because it contains too many (49) members.

    Types

    Type members

    Instance members

    Show implementation details (1)

    Hide implementation details

    • func _integrateForces(state: PhysicsDirectBodyState3D?)

      Called during physics processing, allowing you to read and safely modify the simulation state for the object. By default, it works in addition to the usual physics behavior, but the customIntegrator property allows you to disable the default behavior and do fully custom force integration for a body.

    Citizens in SwiftGodot

    Conformances

    Type members

    Instance members

    Type features

    Instance features