GravityForce2D class
Apply acceleration to velocity {value} pixel/seconds
- Inheritance
-
- Object
- Force2D
- AccelerationForce2D
- GravityForce2D
Constructors
- GravityForce2D({Vector2? value})
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
transform(
Vector2 velocity, double mass, double dt) → Vector2 -
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited