Vizard 8 » Command Index » Vizard objects » viewpoint » <viewpoint>.collisionBuffer
8.1

<viewpoint>.collisionBuffer

This command sets the collision buffer around the viewer

<viewpoint>.collisionBuffer(  
value  
)  
value
The collision buffer, in meters.

Remarks

The collision buffer is the distance the viewer must be from an object for it to be considered a collision. If the collision buffer is set to 0.3, then when the viewer is less then 0.3 distance from an object, it will be considered a collision.

Return Value

None

Example

viz.MainView.collision(viz.ON)
viz.MainView.collisionBuffer(0.3)

See also

<viewpoint>.collision
<viewpoint>.gravity
<viewpoint>.stepSize