Physics virtroom
This example (source in https://github.com/cogentcore/lab/tree/main/physics/examples/virtroom) demonstrates how to use the PlaneXZ joint to move an object around on the plane, and how to use the physics API in a simulation context. Sensors for physical values and capturing the “first person” view from the eye of the virtual agent are also demonstrated.
Init
Grab Image
Step
Fwd
Bkw
Body Left
Body Right
Head Left
Head Right
Scene
Scene
Scene editor
/widget-base/Cogen…View/scene-editor-1
Right Eye Image:
Right Eye Depth:
Rot:
Pan:
Save:
Not selectable