Legacy GM Collisions on a spinning object

T

t0tallyKy1e

Guest
Nutshell of what I'm trying to do: I have a player in the middle of the screen that can only spin in circles. It's mouth can be opened kind of like PacMan, but all of the "enemy" objects fit in its mouth where they can be caught.

I used a bunch of lines once the mouth is opened to detect collisions, but obviously once I turn the lines are just staying still since the reference for x and y are staying still.

I can probably figure out some kind of algorithm for each degree that gets turned and add to x and y accordingly, I was just curious if anyone else has done that yet :D
 
T

t0tallyKy1e

Guest
Thank you very much! It's going to take a bit of playing around but I at least have the top and left side working now.
 
Top