nape-js API
    Preparing search index...

    Class FluidArbiter

    An arbiter representing a fluid interaction between a fluid shape and a body.

    Provides access to buoyancy and drag impulses, the overlap area, and the centre of overlap. Properties marked mutable in pre-handler can only be set within a PreListener handler.

    Obtain via Arbiter.fluidArbiter or by casting from a callback arbiter.

    Fully modernized — uses extracted ZPP_FluidArbiter directly.

    Hierarchy (View Summary)

    Index

    Constructors

    Accessors

    • get isSleeping(): boolean

      Whether both interacting bodies are currently sleeping. Throws if the arbiter is not active.

      Returns boolean

    Methods