Packagekrewfw.core_internal.collision
Classpublic class HitTest
InheritanceHitTest Inheritance Object

Collision detection algorithm library



Public Methods
 MethodDefined By
  
HitTest
  
[static]
HitTest
  
[static]
HitTest
  
[static]
HitTest
  
[static]
HitTest
  
[static]
HitTest
  
[static]
HitTest
Constructor Detail
HitTest()Constructor
public function HitTest()



Method Detail
hitTestAABBVsAABB()method
public static function hitTestAABBVsAABB(_shape:CollisionShape, _other:CollisionShape):Boolean

Parameters

_shape:CollisionShape
 
_other:CollisionShape

Returns
Boolean
hitTestAABBVsOBB()method 
public static function hitTestAABBVsOBB(_shape:CollisionShape, _other:CollisionShape):Boolean

Parameters

_shape:CollisionShape
 
_other:CollisionShape

Returns
Boolean
hitTestOBBVsOBB()method 
public static function hitTestOBBVsOBB(_shape:CollisionShape, _other:CollisionShape):Boolean

Parameters

_shape:CollisionShape
 
_other:CollisionShape

Returns
Boolean
hitTestSphereVsAABB()method 
public static function hitTestSphereVsAABB(_shape:CollisionShape, _other:CollisionShape):Boolean

Parameters

_shape:CollisionShape
 
_other:CollisionShape

Returns
Boolean
hitTestSphereVsOBB()method 
public static function hitTestSphereVsOBB(_shape:CollisionShape, _other:CollisionShape):Boolean

Parameters

_shape:CollisionShape
 
_other:CollisionShape

Returns
Boolean
hitTestSphereVsSphere()method 
public static function hitTestSphereVsSphere(_shape:CollisionShape, _other:CollisionShape):Boolean

Parameters

_shape:CollisionShape
 
_other:CollisionShape

Returns
Boolean