Syntax

dbSetBSPCameraCollision(CollisionIndex, CameraID, Radius.f, Response)

Description

This command will set the collision sphere of the camera for the BSP world. This will automatically adjust the position of the camera when it attempts to enter solid BSP geometry. The camera will be repositioned to produce the smoothest collision response. If the Response value is set to one, the new position backtracks to the last collision free position when a hit occurs. It is worth noting that even commands that reposition the camera are subject to the BSP collision once active. To avoid problems repositioning the camera, simply deactivate and reactivate the collision during positioning.

See Also

dbSetBSPCamera, dbSetBSPCameraCollisionRadius, dbSetBSPCollisionThreshhold