i'm creating sth similiar to fight game, like old Street Fighter but I have a problem with "throwing" platform object around.
Here is target:
-> player is in collision with enemy platform,
-> player is thrown away with force, that is enemy's instance local variable,
->player flyes in arc a distance influenced by force,
->player gets his controls back.
Lurking this forum for houers resulted in those 2 aproches:
by using platform vector: dl.dropbox.com/s/vvzyy2y8rtsn766/platform_throw_behav.capx
and using math:
but none of themem works. If i use platform vector it looks ok but it stops im mid-way and just jumps up in result, instead of hitting distance floor or wall. Math gives me headakes everytime, so it can be not working due to lack of skill. Thanks for any help in advance.
PS: English gives me headakes too :P