I am trying to create a ramp effect when the gravity is (0,0). I am trying this:
[lua]vx, vy = event.other:getLinearVelocity()
transition.to( event.other, { time=1000, event.other:setLinearVelocity( vx, vy-150 ), transition=easing.linear})[/lua]
I want to ease the velocity change. Can this be done? Or is there a better way? [import]uid: 24305 topic_id: 5892 reply_id: 305892[/import]
Wow wow wow. Hold on. Can you show some code? This is cool. I have implemented a drag equation if you are interested. [import]uid: 8192 topic_id: 5892 reply_id: 20241[/import]