# Raycasting help

**URL:** <https://forum.makecode.com/t/raycasting-help/31439>\
**Category:** Help\
**Created:** [October 31, 2024, 7:06pm UTC](https://forum.makecode.com/t/raycasting-help/31439 "2024-10-31T19:06:53Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![DA\_PRO\_PLAYZ](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/da_pro_playz/32/19214_2.png) [@DA\_PRO\_PLAYZ](https://forum.makecode.com/u/DA_PRO_PLAYZ)\
**Post date:** [October 31, 2024, 7:06pm UTC](https://forum.makecode.com/t/raycasting-help/31439/1 "2024-10-31T19:06:53Z")

</div>

So I’m trying to make a Minecraft game in 3d. With the terrain generation, whenever it generates a block, it just appears with no texture. can someone help?

> **[Minecraft](https://arcade.makecode.com/S26571-51075-46023-73666)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

---

<div class="post-metadata">

**Author:** ![kaleb3335](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/kaleb3335/32/16382_2.png) [@kaleb3335](https://forum.makecode.com/u/kaleb3335)\
**Post date:** [November 2, 2024, 1:49am UTC](https://forum.makecode.com/t/raycasting-help/31439/2 "2024-11-02T01:49:48Z")

</div>

i believe with the ray casting the map has to be predefined to render right

---

<div class="post-metadata">

**Author:** ![DA\_PRO\_PLAYZ](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/da_pro_playz/32/19214_2.png) [@DA\_PRO\_PLAYZ](https://forum.makecode.com/u/DA_PRO_PLAYZ)\
**Post date:** [November 2, 2024, 11:24pm UTC](https://forum.makecode.com/t/raycasting-help/31439/3 "2024-11-02T23:24:56Z")

</div>

ok, so how would I do that? is there a way to activate the extension AFTER the tilemap is made?

---

<div class="post-metadata">

**Author:** ![Gl125371](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/gl125371/32/29131_2.png) [@Gl125371](https://forum.makecode.com/u/Gl125371)\
**Post date:** [November 3, 2024, 6:28am UTC](https://forum.makecode.com/t/raycasting-help/31439/4 "2024-11-03T06:28:27Z")

</div>

Yes, first, set the tilemap view to tilemap, then let it generate, and then set the view to raycasting.

---

<div class="post-metadata">

**Author:** ![DA\_PRO\_PLAYZ](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/da_pro_playz/32/19214_2.png) [@DA\_PRO\_PLAYZ](https://forum.makecode.com/u/DA_PRO_PLAYZ)\
**Post date:** [November 4, 2024, 8:33am UTC](https://forum.makecode.com/t/raycasting-help/31439/5 "2024-11-04T08:33:08Z")

</div>

that didn’t work. is there maybe a way to turn off the full extension, let it generate, and then enable it?

---

<div class="post-metadata">

**Author:** ![Brohann](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/brohann/32/17380_2.png) [@Brohann](https://forum.makecode.com/u/Brohann)\
**Post date:** [November 4, 2024, 8:33am UTC](https://forum.makecode.com/t/raycasting-help/31439/6 "2024-11-04T08:33:44Z")

</div>

I fixed it but idk what the problem is its really weird.

> **[Minecraft](https://arcade.makecode.com/S81977-58774-18175-83710)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

---

<div class="post-metadata">

**Author:** ![DA\_PRO\_PLAYZ](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/da_pro_playz/32/19214_2.png) [@DA\_PRO\_PLAYZ](https://forum.makecode.com/u/DA_PRO_PLAYZ)\
**Post date:** [November 4, 2024, 3:52pm UTC](https://forum.makecode.com/t/raycasting-help/31439/7 "2024-11-04T15:52:21Z")

</div>

thank you!

---

<div class="post-metadata">

**Author:** ![Gl125371](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/gl125371/32/29131_2.png) [@Gl125371](https://forum.makecode.com/u/Gl125371)\
**Post date:** [November 4, 2024, 3:53pm UTC](https://forum.makecode.com/t/raycasting-help/31439/8 "2024-11-04T15:53:44Z")

</div>

Can I know what’s the keybind extension?

---

<div class="post-metadata">

**Author:** ![DA\_PRO\_PLAYZ](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/da_pro_playz/32/19214_2.png) [@DA\_PRO\_PLAYZ](https://forum.makecode.com/u/DA_PRO_PLAYZ)\
**Post date:** [November 4, 2024, 6:36pm UTC](https://forum.makecode.com/t/raycasting-help/31439/9 "2024-11-04T18:36:07Z")

</div>

yeah, its  
Brohann3214/custom-keybind-extension

---

<div class="post-metadata">

**Author:** ![Brohann](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/brohann/32/17380_2.png) [@Brohann](https://forum.makecode.com/u/Brohann)\
**Post date:** [November 4, 2024, 7:08pm UTC](https://forum.makecode.com/t/raycasting-help/31439/10 "2024-11-04T19:08:06Z")

</div>

[💻 Custom Keybinds Extension AKA MORE BUTTONS!](https://forum.makecode.com/t/custom-keybinds-extension-aka-more-buttons/24416)

---

<div class="post-metadata">

**Author:** ![Gl125371](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/gl125371/32/29131_2.png) [@Gl125371](https://forum.makecode.com/u/Gl125371)\
**Post date:** [November 4, 2024, 8:45pm UTC](https://forum.makecode.com/t/raycasting-help/31439/11 "2024-11-04T20:45:15Z")

</div>

Thank You!
