Open topic with navigation
<viewpoint>.collision
This command turns on collision detection with the viewpoint
<viewpoint>.collision( |
|
state |
) |
|
state
Can be either viz.ON or viz.OFF
Remarks
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.
Return Value
None
Example
viz.MainView.collision(viz.ON)
See also