Package | Box2D.Common.Math |
Class | public class b2Sweep |
Source | b2Sweep.as |
Property | Defined by | ||
---|---|---|---|
a : Number World angle
| b2Sweep | ||
a0 : Number World angle
| b2Sweep | ||
c : b2Vec2
Center world position
| b2Sweep | ||
c0 : b2Vec2
Center world position
| b2Sweep | ||
localCenter : b2Vec2
Local center of mass position
| b2Sweep | ||
t0 : Number Time interval = [t0,1], where t0 is in [0,1]
| b2Sweep |
Method | Defined by | ||
---|---|---|---|
Advance(t:Number):void
Advance the sweep forward, yielding a new initial state.
| b2Sweep | ||
Get the interpolated transform at a specific time.
| b2Sweep |
a | property |
public var a:Number
World angle
a0 | property |
public var a0:Number
World angle
c | property |
public var c:b2Vec2
Center world position
c0 | property |
public var c0:b2Vec2
Center world position
localCenter | property |
public var localCenter:b2Vec2
Local center of mass position
t0 | property |
public var t0:Number
Time interval = [t0,1], where t0 is in [0,1]
Advance | () | method |
public function Advance(t:Number):void
Advance the sweep forward, yielding a new initial state.
Parameterst:Number — the new initial time.
|
GetXForm | () | method |
public function GetXForm(xf:b2XForm, t:Number):void
Get the interpolated transform at a specific time.
Parametersxf:b2XForm — the normalized time in [0,1].
|
|
t:Number |