I've scoured the board for an answer to what seems to be a basic question, but to no avail. Is there a simple way in Chipmunk to set a body to a constant velocity? Imagine my cpSpace as a top-down flowing river with a current (of constant velocity)-- I simply want to add bodies to "float" down the river. By using gravity, I get an acceleration, understandably. However, I expected that using cpBodyApplyForce, I would get my constant velocity PLUS when the body collidated with other static bodies, it would bounce, but generally continue movement in the same direction. What I'm seeing is that this is acting just like gravity. I get the general movement in the same direction after collisions, but absent of collisions, I get acceleration, just like gravity.
cpBodyApplyForce(body, gCurrent, cpBodyLocal2World(body, cpvzero)); // Set body to flow with current
Does velocity need to be managed manually in order to get a constant velocity? If so, I would greatly appreciate an example or pointer of how to do this.
This is a similar question to (unanswered): viewtopic.php?f=1&t=395&p=1796
Thanks very much!