bodySetConstantForce(body:force:)

    Sets the body’s total constant positional force applied during each physics update.

    PhysicsServer2D.swift:3352
    static func bodySetConstantForce(body: RID, force: Vector2)

    See bodyAddConstantForce(body:force:position:) and bodyAddConstantCentralForce(body:force:).

    Other members in extension

    Types

    Type members