Minecraft in Python: set colour of terrain, mobs look at player (with Ursina) - part 3

Опубликовано: 13 Май 2026
на канале: Red Hen dev
5,955
130

In this tutorial we correct some of the code from the previous video, preventing glitches and improving performance of the procedural terrain.

Then we use the look_at() function (from Ursina) to have Vincent, our giant goose, turn and look at us. Finally, we use a value mapping function to set the colour of the terrain according to height, by using a monochrome texture where the colour of each cube/voxel on our terrain can 'shine' through.

Code: https://github.com/RedHenDev/ursina_t...

Thanks for watching! :)