Signature
Usage
Visual Marker at Site
Return Value
| Field | Type | Description |
|---|---|---|
position | RefObject<THREE.Vector3> | World position from data.site_xpos |
quaternion | RefObject<THREE.Quaternion> | World orientation from data.site_xmat (converted to quaternion) |
Notes
- Updated every frame via
useAfterPhysicsStep - Returns refs, not state — no re-renders
- The site must exist in the MuJoCo model