class com.babylonhx.collisions.Collider

Available on all platforms

... * @author Krtolica Vujadin

Class Fields

static function getLowestRoot(a:Float, b:Float, c:Float, maxR:Float):Dynamic

static function intersectBoxAASphere(boxMin:Vector3, boxMax:Vector3, sphereCenter:Vector3, sphereRadius:Float):Bool

Instance Fields

function new():Void

function _canDoCollision(sphereCenter:Vector3, sphereRadius:Float, vecMin:Vector3, vecMax:Vector3):Bool

function _collide(subMesh:SubMesh, pts:Array<Vector3>, indices:Array<Int>, indexStart:Int, indexEnd:Int, decal:Int):Void

function _getResponse(pos:Vector3, vel:Vector3):Void

function _initialize(source:Vector3, dir:Vector3, e:Float):Void

function _testTriangle(faceIndex:Int, subMesh:SubMesh, p1:Vector3, p2:Vector3, p3:Vector3):Void