Package | Box2D.Common.Math |
Class | public class b2Sweep |
Property | Defined by | ||
---|---|---|---|
a0 : Number
< world angles
| b2Sweep | ||
c : b2Vec2 | b2Sweep | ||
c0 : b2Vec2
< center world positions
| 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 |
a0 | property |
public var a0:Number
< world angles
c | property |
public var c:b2Vec2
c0 | property |
public var c0:b2Vec2
< center world positions
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 |