Increasing speed of circle over time as linear with Box2d
- by Whispered
Assume that there is a circle and it can be moved by using keyboard arrows.Is required that increasing speed over time like increasing car speed. For example; max speed is 25 and time to reach max speed shall be 5 sec. Over 5 sec the speed will reach to max speed. Does Box2d handle that situation?.
I tried setting linear valocity but it seems to make the circle have constant speed instead of increased speed over time.
Thank You!
Note: I'm using Box2DWeb Javascript port of Box2D.