How can I change speed when colide with other actor?
hello guys. im working on new project on iphone and i need a litle help .
my Actor (player) move to self. position.Y to mouse.position.Y with 150 speed..
i want to make one actor name(boost), when my actor name (player) colide with Actor(boost) how can i change the speed from 150 to 400 for 10 sec..
my Actor (player) move to self. position.Y to mouse.position.Y with 150 speed..
i want to make one actor name(boost), when my actor name (player) colide with Actor(boost) how can i change the speed from 150 to 400 for 10 sec..
Best Answer
-
HC_DK Posts: 92
Add a integer attribute called eg. SPEED. Change this attribute from 150 to 400 and after 10 sec back to 150.
And of course use this in the MOVE TO behaviour as the Speed.
Answers
HC
what you mean [Change attribute to 400]
1: change attribute ????? to 400
2: change attribute 400 to ????