DragGenerator Class
This generator simulates the force of drag.
Constructor
DragGenerator
()
Item Index
Methods
Methods
applyForce
(
-
entity
Parameters:
-
entity
EntityThe entity to which the drag should be applied. It's required that the entity has the Movable component.