BSPCollider manages an object to move around in a BSPTree while doing collision detection.
This can be used to create FPS-style navigation.
flyMode:Boolean
[read-write]Implementation
public function get flyMode():Boolean
public function set flyMode(value:Boolean):void
maxBounds:Vector3D
[read-write]Implementation
public function get maxBounds():Vector3D
public function set maxBounds(value:Vector3D):void
maxClimbHeight:Number
[read-write]
The maximum height difference allowed to bridge when a collision is found, used for steps etc. Only used when calling move with flyMode set to true.
Implementation
public function get maxClimbHeight():Number
public function set maxClimbHeight(value:Number):void
maxIterations:Number
[read-write]Implementation
public function get maxIterations():Number
public function set maxIterations(value:Number):void
minBounds:Vector3D
[read-write]Implementation
public function get minBounds():Vector3D
public function set minBounds(value:Vector3D):void
onSolidGround:Boolean
[read-only]Implementation
public function get onSolidGround():Boolean
stuck:Boolean
[read-write]Implementation
public function get stuck():Boolean
public function set stuck(value:Boolean):void
testMethod:int
[read-write]Implementation
public function get testMethod():int
public function set testMethod(value:int):void
public function BSPCollider(object:Object3D, bspTree:BSPTree)
Parameters
| object:Object3D — The object that moves around in the world. This can be a Camera3D (FPS) or a Mesh
|
|
| bspTree:BSPTree |
Init Parameters
public function move(x:Number, y:Number, z:Number):Vector3D
Parameters
| x:Number |
|
| y:Number |
|
| z:Number |
Returns