I wanted to place coins, health pickups, or some other form of token, on uneven, randomly generated surface terrain for a game I was working on in Roblox Studio. Now, if you are using a flat surface, like the default baseplate, the health tokens would float nicely at 4 studs above the surface (or 2 or 6), but with hills, lakes, valleys, etc, they could be inside a mountain or floating 30 feet in the air. How can you, as a game designer, determine the actual position above ground when the ground isn’t flat? The answer is raycasting. In this video, I'll show you how that works for generating those pickups.
Смотрите видео Roblox Raycast Tutorial: How To Make Floating Pickups Over Uneven Terrain онлайн, длительностью часов минут секунд в хорошем качестве, которое загружено на канал Marcel Gagné 17 Декабрь 2020. Делитесь ссылкой на видео в социальных сетях, чтобы ваши подписчики и друзья так же посмотрели это видео. Данный видеоклип посмотрели 848 раз и оно понравилось 18 посетителям.