Increasing speed of circle over time as linear with Box2d
Posted
by
Whispered
on Game Development
See other posts from Game Development
or by Whispered
Published on 2013-03-04T08:50:02Z
Indexed on
2013/07/02
17:17 UTC
Read the original article
Hit count: 305
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.
© Game Development or respective owner