SoulFire TypeScript SDK 2.10.3
    Preparing search index...

    Type Alias BotSetRotationRequest

    BotSetRotationRequest: Message<"soulfire.v1.BotSetRotationRequest"> & {
        botId: string;
        instanceId: string;
        pitch: number;
        yaw: number;
    }

    Request to set the bot's view rotation (look direction). Used to aim the bot's view at specific targets or directions.

    Type Declaration

    • botId: string

      The profile UUID of the bot to rotate.

      from field: string bot_id = 2;

    • instanceId: string

      The UUID of the SoulFire instance containing the bot.

      from field: string instance_id = 1;

    • pitch: number

      Vertical rotation angle in degrees (pitch). Range: -90 to 90 (values outside this range are clamped). Direction mapping: -90 = looking up, 0 = horizon, 90 = looking down.

      from field: float pitch = 4;

    • yaw: number

      Horizontal rotation angle in degrees (yaw). Range: -180 to 180 (values outside this range are normalized). Direction mapping: 0 = South, 90 = West, -90 = East, +/-180 = North.

      from field: float yaw = 3;

    from message soulfire.v1.BotSetRotationRequest