I’m making a game with third person freecam in raycasting, and I want to be able to make it so that when you touch a pit tile (a black square) you fall through the floor and clip out of bounds, or at least out of sight. Any idea how?
4 Likes
This is a cool idea, I hadn’t thought about locking the camera like that! ![]()
Here’s my idea, it changes the z-index until the player is off the bottom of the screen. However, I’m not sure if it’s the correct way to use the blocks, because i have to set it to -3,000 to get it off the screen ![]()
You could also make an animation for the sprite where you move the player down each frame!
4 Likes
I did the animation since I posted this, but thanks for the help!
1 Like