I’m in a quandry. I’m working on a platformer and need to figure out how to get my projectiles that my characters shoot to collide with the static objects I’m using to build my map/environment.
Since this game is a side viewed platformer, I’m using gravity in it.
The collision objects (block based tiles) that I build my maps with are bodyType “static” so that they don’t “fall” based on the gravity of the environment.
In order for my projectiles to shoot “straight”, I’ve had to set them as bodyType “kinematic”. These kinematic bullets hit my bodyType “dynamic” NPCs but don’t collide with my “static” walls.
What’s the best approach to solving this dilemma? If I make my projectiles dynamic they collide with both NPCs and collision objects but they “fall” due to gravity. If I keep them as kinematic, they fly through all of the static set walls in the environment.
Thanks for any advice anyone can offer 
[import]uid: 105707 topic_id: 33743 reply_id: 333743[/import]