how can I make climb up and down with the same speed ?

by default,climb up a slope will slow down,climb down speed up.

but how can I make them moving with the same speed ?

I try a lot of methods, but not good enough.

and,my actor is a rect, may I make it isFixedRotation = true ?

thanks a lot ! [import]uid: 21680 topic_id: 11100 reply_id: 311100[/import]

How are you controlling your actor? The dpad tutorial on http://Techority.com should move your character at a constant speed. Does that help?

Peach :slight_smile: [import]uid: 52491 topic_id: 11100 reply_id: 40352[/import]

yes,i’v done that.

actor:setLinearVelocity( 100, 15 )

in enterframes event function.

is it right ? [import]uid: 21680 topic_id: 11100 reply_id: 40354[/import]

I don’t know, I don’t have it in front of me - you tell me, is it right? Is it now moving at the same speed? [import]uid: 52491 topic_id: 11100 reply_id: 40390[/import]

No.

when it climbs up a slope will slow down,climbs down speed up. [import]uid: 21680 topic_id: 11100 reply_id: 40392[/import]

I don’t think it is right way.

To be technically correct, to move with constant speed, the solution will depend on couple of factors, what is the friction, is gravity on etc.

Pasting your relevant code here will help others help you. [import]uid: 48521 topic_id: 11100 reply_id: 40456[/import]