Skip to content
This repository was archived by the owner on Aug 18, 2024. It is now read-only.
This repository was archived by the owner on Aug 18, 2024. It is now read-only.

Fix bot actions - Re-map these actions to the current dom and 3d controls #8

Description

@mrhegemon

Fix bot actions,

We want the puppeteer bot to work first and best. We want the bots to use the same UI / code as humans.

If we have to cheat, the API is available to us too.
https://api-dev.etherealengine.com/openapi/

Re-map these actions to the current dom and 3d controls

WebXR emulator is a great start

Start here
https://github.com/XRFoundation/XREngine-Bot/blob/master/bot/bot-action.ts

export const BotActionType = {
None: 'none',

// connection
Connect: 'connect',
Disconnect: 'disconnect',

// room
EnterRoom: 'enterRoom',
LeaveRoom: 'leaveRoom',

// key
KeyPress: 'keyPress',

// audio
SendAudio: 'sendAudio',
StopAudio: 'stopAudio',
ReceiveAudio: 'receiveAudio',

// video
SendVideo: 'sendVideo',
StopVideo: 'stopVideo',
ReceiveVideo: 'receiveVideo',

// interact
InteractObject: 'interactObject',

// send message
SendMessage: 'sendMessage',

// flow control
OpIf: 'opIf',
Delay: 'delay'
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions