Both the scene and the renderer can set pointer_locked to false at any moment. Only the user can set pointer_locked to true as a result of a HID interaction.
Tasks to perform:
[ ] Add the new field to the protocol repository
[ ] Implement in the renderers
[ ] Implement in SDK
[ ] Update documentation of the component and create a playground snippet
The scene should be able to remove the PointerLock in situations like "opening a popup in the UI for trade".
To do so, we will follow the ECS approach and perform that operation via component.
The CameraMode component will receive a new property
pointer_locked
Both the scene and the renderer can set
pointer_locked
to false at any moment. Only the user can setpointer_locked
to true as a result of a HID interaction.Tasks to perform: