The ramps can be performed for any component that implements the Lerp trait. To define a ramp for a component C, add a Ramp<C> to the same entity, and add a RampUpdateSystem<C> to the dispatcher.
Also added unit tests, which include a minimal example.
The ramps can be performed for any component that implements the
Lerp
trait. To define a ramp for a componentC
, add aRamp<C>
to the same entity, and add aRampUpdateSystem<C>
to the dispatcher.Also added unit tests, which include a minimal example.
Signed-off-by: Elliot Bentine 7041164+ElliotB256@users.noreply.github.com