Packageflare.physics.test
Classpublic final class SAT3D
InheritanceSAT3D Inheritance Object



Public Properties
 PropertyDefined By
  collider0 : IShape
[static]
SAT3D
  collider1 : IShape
[static]
SAT3D
  depth : Number
[static]
SAT3D
  flags : uint
[static]
SAT3D
  swap : Boolean
[static]
SAT3D
Public Methods
 MethodDefined By
  
SAT3D
  
generateContacts(contacs:Vector.<Contact>, numContacts:int, c0:Collider = null, c1:Collider = null, transform:Matrix3D = null, normal:Vector3D = null):int
[static]
SAT3D
  
init(a:IShape, b:IShape):void
[static]
SAT3D
  
test(testAxis:Vector3D, testFlags:uint = 0):Boolean
[static]
SAT3D
Public Constants
 ConstantDefined By
  axis : Vector3D
[static]
SAT3D
Property Detail
collider0property
public static var collider0:IShape

collider1property 
public static var collider1:IShape

depthproperty 
public static var depth:Number

flagsproperty 
public static var flags:uint

swapproperty 
public static var swap:Boolean

Constructor Detail
SAT3D()Constructor
public function SAT3D()



Method Detail
generateContacts()method
public static function generateContacts(contacs:Vector.<Contact>, numContacts:int, c0:Collider = null, c1:Collider = null, transform:Matrix3D = null, normal:Vector3D = null):int

Parameters

contacs:Vector.<Contact>
 
numContacts:int
 
c0:Collider (default = null)
 
c1:Collider (default = null)
 
transform:Matrix3D (default = null)
 
normal:Vector3D (default = null)

Returns
int
init()method 
public static function init(a:IShape, b:IShape):void

Parameters

a:IShape
 
b:IShape

test()method 
public static function test(testAxis:Vector3D, testFlags:uint = 0):Boolean

Parameters

testAxis:Vector3D
 
testFlags:uint (default = 0)

Returns
Boolean
Constant Detail
axisConstant
public static const axis:Vector3D