hard hit
Posted:
Mon Jan 02, 2012 10:11 am
by BogdansB
hey,
how can i make a variable be a number which is the speed of an actor collides another actor...
Re: hard hit
Posted:
Mon Jan 02, 2012 10:45 am
by phyzix5761
If I understand you correctly,
1. Make a variable named "velocity" for example
2. In the collision event add this:
velocity = actorName.yvelocity; (actorName being the name of the actor that you want the velocity of.)
((If you want the x velocity then just write velocity = actorName.xvelocity;))
I hope that helped.