Help: climbing a slope
hello everybody.
so i began creating an iphone game and i want to put a slope.
but the problem i don't know what to do so my player climb the slope.
so i need your opinion with an explication of how to do it because i am a new user
thank you.
so i began creating an iphone game and i want to put a slope.
but the problem i don't know what to do so my player climb the slope.
so i need your opinion with an explication of how to do it because i am a new user
thank you.
Comments
a gameAttribute: slope … index type
on slopeActor:
Rule: when
Event: overlaps or collides with playerActor
-changeAttribute: game.slope To: self.Rotation
on playerActor:
Rule: when
Event: overlaps or collides with slope
-changeAttribute: self.Rotation To: game.slope