apply thrust

I have a motorbike type game where it moves over a terrain no problem.
How do I simulate a thrust eg I want to touch a button for an accerlation , and I should move further over humps than normal.

I used these 3 wiith varying parameters but I never got the short thrust effect over a terrain.

The bike moves right and the terrain scrolls left.

… applyLinearImpulse( 2, -1, self.m1.x-16, self.m1.y )
… applyForce( 100, -30, self.m1.x-16, self.m1.y )

… setLinearVelocity(30,-30) ; [import]uid: 138547 topic_id: 25758 reply_id: 325758[/import]

Applying force should work just fine; what exactly happens when you use that method? Force but then it doesn’t slow down? (I can’t tell if that is what you mean or not.) [import]uid: 52491 topic_id: 25758 reply_id: 104168[/import]

applying force will do nothing until I increase the force enough and then suddenly the object shoots a little forward.

it doesnt look like an object is accelerating like a motorbike

this is what i want
http://www.youtube.com/watch?v=V1Z3c6ApWQk

started another thread i games section [import]uid: 138547 topic_id: 25758 reply_id: 104192[/import]

OK then, as you know we don’t allow dupe threads so I’ll close this.

What you show there likely has a moving background not a moving bike, though in any case applying linear velocity with easing may do the trick. [import]uid: 52491 topic_id: 25758 reply_id: 104367[/import]