Angle of collision between two balls
mozoo
Member Posts: 19
Hi! I'm new in game salad and i have a problem.
I need to know the angle of collision between two circles because i need to change the direction of the spawned actor.
Thanks!
I need to know the angle of collision between two circles because i need to change the direction of the spawned actor.
Thanks!
Best Answer
-
MarkOnTheIron Posts: 1,447I had similar problems a while ago.
http://forums.gamesalad.com/discussion/35823/
There's a little bit of advanced expressions here. If you're new to GameSalad maybe you should start with simpler things.
Answers
Hi mark first of all thanks! you have reason this is to hard for my level, but i think this is not exactly my problem i think... i will try to explain it better
I have two circles. When i drag one of them and collide with the other one a new actor (animation) is spawned. The problem is that the direction of the spawning have to be the same angle of collision between balls.
For example. If you check this link, in this case the direction angle of spawned actor have to be 144.06 degree.
http://arcade.gamesalad.com/game/3218
Thanks!