# Raycasting extension: wall collision stopped working

**URL:** <https://forum.makecode.com/t/raycasting-extension-wall-collision-stopped-working/44501>\
**Category:** Arcade\
**Created:** [June 14, 2026, 12:41am UTC](https://forum.makecode.com/t/raycasting-extension-wall-collision-stopped-working/44501 "2026-06-14T00:41:44Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![tochaeluz](https://avatars.discourse-cdn.com/v4/letter/t/a9a28c/32.png) [@tochaeluz](https://forum.makecode.com/u/tochaeluz)\
**Post date:** [June 14, 2026, 12:41am UTC](https://forum.makecode.com/t/raycasting-extension-wall-collision-stopped-working/44501/1 "2026-06-14T00:41:44Z")

</div>

Hi everyone!

I’m making a MakeCode Arcade game using the raycasting / 3D render extension, but the wall collision stopped working.

The player/camera can move through the walls, even though the tiles are marked as walls in the tilemap. The collision was working before, but after adding/changing parts of the game with the raycasting extension, it no longer blocks the player.

Project link: [https://makecode.com/\_JxxcbtFKsKDF](https://makecode.com/_JxxcbtFKsKDF)

Could someone please take a look and help me understand what is breaking the wall collision?

Thank you!

---

<div class="post-metadata">

**Author:** ![randomuser](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/randomuser/32/32505_2.png) [@randomuser](https://forum.makecode.com/u/randomuser)\
**Post date:** [June 22, 2026, 9:20pm UTC](https://forum.makecode.com/t/raycasting-extension-wall-collision-stopped-working/44501/2 "2026-06-22T21:20:58Z")

</div>

Welcome back! 👋  
@WoofWoof just solved this same problem [in this thread](https://forum.makecode.com/t/help-with-raycasting-collision/44638/3)– the 3D collisions will dissapear if you delete the ‘myself sprite’ using the block ‘destroy all sprites of kind player’, since the myself sprite is automatically ‘player’ kind.  
So, just don’t use the ‘player’ spritekind like in this fix and your code will work!

> **[CHAVES & o Sanduíche Sagrado (Randomuser/Woofwoof fix)](https://arcade.makecode.com/57774-93654-16220-35999)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.
