Page 1 of 1
Plz help
Posted:
Sat Aug 20, 2011 8:11 pm
by raminjoon
Okay I got a ball on screen which's xvelocity=5; okay now I want it to change the velocity if it collides with another ball that is on the screen already. how? if you can't understand me plz see this pic.
Re: Plz help
Posted:
Sat Aug 20, 2011 9:11 pm
by schnellboot
ball a on collision with ball b
xvelocity=25;
Re: Plz help
Posted:
Sat Aug 20, 2011 9:15 pm
by raminjoon
i think your missing a point, is not the ball b I want move I just want to increase the velocity of colliding ball how?
Re: Plz help
Posted:
Sat Aug 20, 2011 9:27 pm
by schnellboot
ballA.xvelocity=25; lol
Re: Plz help
Posted:
Sat Aug 20, 2011 10:19 pm
by raminjoon
well the thing is that the original speed of my ball is in its draw actor so is it possible to change that based on a event? because I dont know how.
Re: Plz help
Posted:
Sat Aug 20, 2011 11:48 pm
by Game A Gogo
having it in draw actor is useless, put the code in create actor. it will keep moving
Re: Plz help
Posted:
Sun Aug 21, 2011 1:49 am
by Bee-Ant