1
0
Fork 0
mirror of https://github.com/AquariaOSE/Aquaria.git synced 2025-02-03 18:14:01 +00:00

update RenderObject::gravity like the rest of the InterpolatedVectors

This commit is contained in:
fgenesis 2022-06-20 18:39:08 +02:00
parent 614f987df2
commit cfba5d7d4a

View file

@ -791,6 +791,7 @@ void RenderObject::onUpdate(float dt)
velocity += gravity * dt;
position.update(dt);
velocity.update(dt);
gravity.update(dt);
scale.update(dt);
rotation.update(dt);
color.update(dt);