Hello! Is there a simple way to code a projectile? I dont need any physics, just a bullet which goes straight to coursor position. The problem is, the map is moving, (charcter is always in the center, while everything else moves). And such should bullets move along with the map. It is quite simple to calculate the offset and and to the local position.
But the problem is - offset changes depending on angle and bullets have different speed. Also, by some reasons they are shoting at wrong direction.
So, is there a better way to code a projectile? Maybe with kinematic body... I did not find much tutorials on this topic.