SET BSP CAMERA This command will set the main camera for the BSP system.
Syntax
    SET BSP CAMERA Camera Number
Parameters
    Camera Number
Integer The camera number
Returns
This command does not return a value.
Description
The BSP camera is used to calculate how to crop the BSP polygons to keep the performance level high. Binary Space Partitioning works by drawing only the polygons currently visible from the perspective of the specified camera.
Example Code
    load bsp "ikzdm1.pk3","ikzdm1.bsp"

    make object sphere 1,100

    position object 1,0,0,0

    set bsp camera 1

    set bsp camera collision 1,0,0.75,0

    set bsp object collision radius 1,1,0,0,0

    set bsp collision threshhold 1,0.001

    do

    control camera using arrowkeys 0,5,4

    sync

    loop

    delete bsp

    end
See also
WORLD Commands Menu Index