PackageBox2D.Collision
Classpublic class b2TimeOfImpact



Public Properties
 PropertyDefined by
  s_p1 : b2Vec2
[static] This algorithm uses conservative advancement to compute the time of impact (TOI) of two shapes.
b2TimeOfImpact
  s_p2 : b2Vec2
[static]
b2TimeOfImpact
  s_xf1 : b2XForm
[static]
b2TimeOfImpact
  s_xf2 : b2XForm
[static]
b2TimeOfImpact
Public Methods
 MethodDefined by
  
TimeOfImpact(shape1:b2Shape, sweep1:b2Sweep, shape2:b2Shape, sweep2:b2Sweep):Number
[static]
b2TimeOfImpact
Property detail
s_p1property
public static var s_p1:b2Vec2

This algorithm uses conservative advancement to compute the time of impact (TOI) of two shapes. Refs: Bullet, Young Kim

s_p2property 
public static var s_p2:b2Vec2
s_xf1property 
public static var s_xf1:b2XForm
s_xf2property 
public static var s_xf2:b2XForm
Method detail
TimeOfImpact()method
public static function TimeOfImpact(shape1:b2Shape, sweep1:b2Sweep, shape2:b2Shape, sweep2:b2Sweep):NumberParameters
shape1:b2Shape
 
sweep1:b2Sweep
 
shape2:b2Shape
 
sweep2:b2Sweep

Returns
Number