I've run into a couple of snags with a system I'm trying to put in place. Instead of using a generic bullet object, I would like my platform player to replicate throwing a physics object (ie a grenade). I've tried a couple of different things and I feel like I'm close to nailing it but there's always something that I can't get down.
I tried just a simple "KEY IS DOWN: LEFT ARROW" and then adding force to the physics object. This looked great initially but once the player has let it fly and it's landed and settled on the ground, anytime the left key is pressed it will move again. It also means the player is forced to move if he wants to throw which is clumsy.
I can't really figure out a way to detect which direction the platform object is facing in order to use that as a guide point. There is "Compare Angle" but the platform object at the moment is just a single sprite box and even when I make a second sprite for the 180 angle it doesn't seem to make a difference.
Anyway I'm pretty stumped in regards to this now. If anybody has any suggestions I'd really appreciate it, thanks.