AutoMovie API
    Preparing search index...

    Function bedsidePerch

    • Sit on a fixed bed's long edge, pause, then stand. Enter facing away from the chosen edge with the feet on the floor within reach of the seat. The bed supplies the edge's position, outward heading and depth. The ordinary sit and rise supply the support transfer and reach checks.

      Parameters

      • chain: IAutoMovieMotionHumanChain

        The standing performer's chain.

      • bed: IAutoMovieMotionHumanObject.IModel

        A model with a level leftSide or rightSide seat affordance.

      • placement: { at: IAutoMovieVector3; yaw: number } & { fixed?: boolean }

        The bed's fixed world placement, in metres and yaw degrees.

        • at: IAutoMovieVector3

          World floor point beneath the object's origin, metres; the object builder places its origin above this floor point.

        • yaw: number

          Object yaw in degrees about world +Y.

        • Optionalfixed?: boolean

          Whether the object is immovable; omitted leaves the normal movable placement behavior.

      • side: "left" | "right"

        The long edge on the bed's local positive X (left) or negative X (right).

      • seconds: number = 1

        Time seated after settling, in seconds. Defaults to one second.

      Returns IAutoMovieMotionHumanChain

      A chain with the sit and rise appended.

      If the chosen edge has no seat affordance. The sit and rise can also refuse unreachable supports at planning time.