![]() |
FCV Engine 0.1
A tool and framework for tutorials in game development
|
Component to add force to attached objects rigidbody2D for easier access. More...
Public Member Functions | |
| void | ApplyForce (Vector2 direction, float amount) |
| Applies a force in a direction with a force depending on a percentile. | |
Component to add force to attached objects rigidbody2D for easier access.
Definition at line 10 of file Knockback.cs.
| void ApplyForce | ( | Vector2 | direction, |
| float | amount ) |
Applies a force in a direction with a force depending on a percentile.
| direction | direction to apply force |
| amount | a value between 0-1 to applie towards max force |
Definition at line 26 of file Knockback.cs.