Hello all. I'm working with a multiplayer game, a parody on Super Smash Brothers, involving a few physics-object lobbing characters. Because they throw physics objects, which (I think) don't have a set left(180) right(0) orientation, I run into a problem with pushback.
My problem is that I wish to make the player on the receiving end of the objects get smacked in the related direction. The smacking distance and such I have down, but what I can't figure out is how to allow the pushback events to determine the movement direction (left/right) of a family called 'Projectiles'.
To note: The 'Projectile' family is comprised of bullets, physics objects, and one hybrid.
Here's a quick exe. Characters with parabolic (physics object) attacks are:
Mice and Men
The Crucible
Cuckoo's Nest
Beowulf
and as a hybrid, Inherit the Wind
http://dl.getdropbox.com/u/676998/Earlytest.exe
P1
Menu
Select character - arrow keys
Continue - enter
Game
Movement/jumping - arrow keys
Double jump - up again
Fire projectile - Control(right)
Special attack(Inherit the wind) - Num0
Return to menu - Esc
P2
Menu
Select character - WASD
Continue - Enter
Game
Movement/jumping - WASD
Double jump - W again
Fire projectile - Control(left)
Return to menu - Esc