TheOnlyWRT
Member
Hello!
So I am working on a platformer where the player can roll. I have been coding the rolling motion by moving at a certain speed over a given distance and rotating the sprite using image_angle. However, with gravity, the player gets stuck in the floor. I realized that this is because using image_angle rotates the collision mask.
The question I have is how do I get the player to rotate while rotating the collision mask without him getting stuck in the floor? If that is difficult, how do I rotate the sprite without rotating the collision mask?
Thank you!
So I am working on a platformer where the player can roll. I have been coding the rolling motion by moving at a certain speed over a given distance and rotating the sprite using image_angle. However, with gravity, the player gets stuck in the floor. I realized that this is because using image_angle rotates the collision mask.
The question I have is how do I get the player to rotate while rotating the collision mask without him getting stuck in the floor? If that is difficult, how do I rotate the sprite without rotating the collision mask?
Thank you!