Im using this code:

Code:

function _ball_event()
{
vec_to_angle(me.pan, bounce);
}

action aBall
{
my.enable_block=on;
my.enable_entity=on;
my.event=_ball_event;
.....
.....
.....

while(1)
{
c_move(me, v3Movement, nullvector, glide);
wait(1);
}
}




The ball bouces off but pretty strange.



(hope you see what I mean The thin line is the way my ball flys)


So this is not the right bounce, isnt it?

Can someone please tell me how to do it correctly?


thx nipx