Help with events - rotation


#1

Hi guys, can you help me understand why is this not killing the player please?
gate is otherwise working fine (it stops when with collision with the ground)


#2

You moved the X origin point to the end right?


#3

My guess is that the gate is considered “stopped” and you need to check some other conditional instead.


#4

you mean this?

gdgd


#5

yeah that was my guess too, tried a few but there is no conditional for object rotating


#6

of cause there is:


#7

uhh, i would swear i tried that one. yea it works. thanks. just to understand is that 90º compared to the original position or final position?


#8

I would edit the points on your player, and create a “head” point somewhere in the sprite’s head area.
Then add a condition like this:
Gate: Point inside collision Player.X(“head”), Player.Y(“head”) => kill player