Загрузка...

How to use 3d objects inside a 2d scene in Godot 3.1

This is a 1-minute tutorial showing how to use 3d objects in a 2d game in Godot 3.1 game engine. Unlike some other game engines, Godot treats 2d and 3d quite a bit differently, and in order to insert a 3d object into a 2d scene, you need to put your 3d object(s) into a separate 3d scene. Back in the 2d scene, we add a Viewport object of a set size and nest the 3d scene inside of it. The Viewport will "take image from the camera inside 3d scene", that we can store in a texture, and apply that texture to any sprite in our 2d scene.

Видео How to use 3d objects inside a 2d scene in Godot 3.1 автора JavaScript и DevOps
Страницу в закладки Мои закладки
Все заметки Новая заметка Страницу в заметки