Hello! I have a position value and a velocity value. I want to make it so that the position will be stored and constantly have the velocity added to it. A code equivalent would be
// in frame loop
position += velocity
An example is if on frame 1 position = 0 and velocity = 1 then on frame 2 position = 1. If on frame 2 velocity changed to 0.5 then on frame 3 position should be 1.5.
Thank you!