API Docs for:
Show:

DragGenerator Class

This generator simulates the force of drag.

Constructor

DragGenerator

()

Item Index

Methods

Methods

applyForce

(
  • entity
)

Parameters:

  • entity Entity

    The entity to which the drag should be applied. It's required that the entity has the Movable component.