Rayrai Example: Custom Visuals
Overview
Demonstrates custom visual primitives (sphere, box, cylinder, capsule, mesh) and simple animation of positions and orientations.
Screenshot
Binary
Installed executable: rayrai_custom_visuals.
Run
Run the installed executable:
<raisim-install>/bin/rayrai_custom_visuals
On Windows, run rayrai_custom_visuals.exe instead.
This example uses the in-process rayrai renderer (no external client required).
Details
Creates custom visuals (sphere/box/cylinder/capsule/mesh) outside the physics world.
Animates visual positions and orientations each frame.
Demonstrates
setDetectable(true)for custom visuals that should appear in external-camera and other detectable-only capture render passes. Detectability is render filtering metadata; it does not add physics, collision, or a RaiSim object.