This command turns on collision detection with the viewpoint
| <viewpoint>.collision( | |
| state |
)
state
Can be either viz.ON or viz.OFF
When collision is ON, Vizard will automatically check for collisions between the viewer and the world. If the viewer collides with an object it will stop the viewer from moving past it.
None
<viewpoint>.collisionbuffer
<viewpoint>.gravity
<viewpoint>.stepsize