Raycasting collision not working

im coding a horror game most of it was made without the raycasting extension for better debugging when i added it the camera/player wont collide with walls or trigger traps and collectibles

ive tried a few things but i still cant get it to work

here is the game

Welcome to the forum, by the way, @ADM_F!

It seems the destroying of all sprites of type Player in the clear all function messed up something regarding collision, don’t know what:

I also removed any occurrence of controller.move sprite, since it made the Player move awkwardly.

1 Like

Destory all sprites of kind Player will remove the self sprite (Me in your project) from the phisical engine. Remove this block, walls will work.

image

1 Like

Thank you! its working now and i cant wait to finish this project.

2 Likes