Package | away3d.physics |
Class | public class BSPCollider |
Inheritance | BSPCollider Object |
Property | Defined By | ||
---|---|---|---|
flyMode : Boolean | BSPCollider | ||
maxBounds : Vector3D | BSPCollider | ||
maxClimbHeight : Number
The maximum height difference allowed to bridge when a collision is found, used for steps etc. | BSPCollider | ||
maxIterations : Number | BSPCollider | ||
minBounds : Vector3D | BSPCollider | ||
onSolidGround : Boolean [read-only] | BSPCollider | ||
stuck : Boolean | BSPCollider | ||
testMethod : int | BSPCollider |
Method | Defined By | ||
---|---|---|---|
Creates a BSPCollider object. | BSPCollider | ||
move(x:Number, y:Number, z:Number):Vector3D | BSPCollider |
flyMode | property |
flyMode:Boolean
public function get flyMode():Boolean
public function set flyMode(value:Boolean):void
maxBounds | property |
maxBounds:Vector3D
public function get maxBounds():Vector3D
public function set maxBounds(value:Vector3D):void
maxClimbHeight | property |
maxClimbHeight:Number
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.
public function get maxClimbHeight():Number
public function set maxClimbHeight(value:Number):void
maxIterations | property |
maxIterations:Number
public function get maxIterations():Number
public function set maxIterations(value:Number):void
minBounds | property |
minBounds:Vector3D
public function get minBounds():Vector3D
public function set minBounds(value:Vector3D):void
onSolidGround | property |
onSolidGround:Boolean
[read-only] public function get onSolidGround():Boolean
stuck | property |
stuck:Boolean
public function get stuck():Boolean
public function set stuck(value:Boolean):void
testMethod | property |
testMethod:int
public function get testMethod():int
public function set testMethod(value:int):void
BSPCollider | () | Constructor |
public function BSPCollider(object:Object3D, bspTree:BSPTree)
Creates a BSPCollider object.
Parametersobject:Object3D — The object that moves around in the world. This can be a Camera3D (FPS) or a Mesh
| |
bspTree:BSPTree |
move | () | method |
public function move(x:Number, y:Number, z:Number):Vector3D
Parameters
x:Number | |
y:Number | |
z:Number |
Vector3D |