Packageverlocity.physics
Classpublic final class Force
InheritanceForce Inheritance flash.geom.Point



Public Properties
 PropertyDefined By
  direction : Point
[read-only] Returns a normalized vector that describes the direction of the force.
Force
  initialLifeTime : Number
[read-only] Returns the life time of the force (subtracted by the engine's current time)
Force
  lifetime : Number
[read-only] Returns the lifetime of the force
Force
  magnitude : Number
[read-only] Returns the current magnitude (speed)
Force
Public Methods
 MethodDefined By
  
Force(pSetDirection:Point, nSetMagnitude:Number = 0, nSetLifeTime:Number)
Force
Property Detail
directionproperty
direction:Point  [read-only]

Returns a normalized vector that describes the direction of the force.


Implementation
    public function get direction():Point
initialLifeTimeproperty 
initialLifeTime:Number  [read-only]

Returns the life time of the force (subtracted by the engine's current time)


Implementation
    public function get initialLifeTime():Number
lifetimeproperty 
lifetime:Number  [read-only]

Returns the lifetime of the force


Implementation
    public function get lifetime():Number
magnitudeproperty 
magnitude:Number  [read-only]

Returns the current magnitude (speed)


Implementation
    public function get magnitude():Number
Constructor Detail
Force()Constructor
public function Force(pSetDirection:Point, nSetMagnitude:Number = 0, nSetLifeTime:Number)



Parameters
pSetDirection:Point
 
nSetMagnitude:Number (default = 0)
 
nSetLifeTime:Number (default = NaN)