What I wanted to do is this:
1. Enemy instance should shoot a bullet at the player at a specific time-interval.
2. Bullet should go through other enemy instances to avoid friendly-fire.
3. Bullet should not go through static level/room geometry.
What I managed to do is this:
www.gamemaker3d.com/player?pid=051530017239
Shooting a bullet is done with a Right Mouse Button.
The system is that I have a fake camera and a fake bullet with collisions underneath the 'real' room and a 'real' bullet
The 'real' bullet has no collision and it's just following the fake bullet under the room.
This is actually not an extremely bad solution for my project since the enemy instance is a 'wizard' and 'bullets' can fly around until they hit the player
However it would be great to have a not-so-difficult-and-strange solution and I do have a problem with bullet not being rotated towards the player in a moment of shooting if player is moving around.
If anyone can think of a better system or can at least have an idea on how to proparly rotate the bullet before the shooting that would be very helpful and very appreciated