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'
}
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'
}