mirror of
https://github.com/AquariaOSE/Aquaria.git
synced 2025-02-04 02:24:00 +00:00
update RenderObject::gravity like the rest of the InterpolatedVectors
This commit is contained in:
parent
614f987df2
commit
cfba5d7d4a
1 changed files with 1 additions and 0 deletions
|
@ -791,6 +791,7 @@ void RenderObject::onUpdate(float dt)
|
||||||
velocity += gravity * dt;
|
velocity += gravity * dt;
|
||||||
position.update(dt);
|
position.update(dt);
|
||||||
velocity.update(dt);
|
velocity.update(dt);
|
||||||
|
gravity.update(dt);
|
||||||
scale.update(dt);
|
scale.update(dt);
|
||||||
rotation.update(dt);
|
rotation.update(dt);
|
||||||
color.update(dt);
|
color.update(dt);
|
||||||
|
|
Loading…
Add table
Reference in a new issue