3D game world
In Yahaha Studio, the 3D game world is where you render your objects for your players. This section covers the fundamental components that bring your game to life, including Transform, Materials, Physics (Collisions), Effects (Light sources, decals), Camera, and Prefabs.
Key Components
Transform
Every YahahaObject in your scene has a Transform component, which allows you to manipulate its Position, Rotation, and Scale. This flexibility is crucial for creating dynamic and engaging scenes.
Materials
Materials define the visual appearance of objects by combining textures and meshes. They determine how objects interact with light, influencing their shininess, roughness, and transparency. This interaction is essential for achieving realistic and captivating visuals.
Physics
Yahaha Studio uses colliders to manage interactions between objects. Currently, three collider shapes are available: sphere, box, and capsule. These colliders ensure that objects behave realistically within your game world.
Effects
Light sources, visual effects and decals add depth and atmosphere to your scenes. Light sources simulate natural and artificial illumination, while decals provide additional visual details, enhancing the overall immersion of your game environment.
Camera
The default camera in Yahaha Studio is a third-person camera, offering a versatile perspective for players to explore and interact with your game world.
Prefabs
Prefabs serve as reusable templates for YahahaObjects, allowing you to maintain consistency across your project. By using prefabs, you can easily create and manage multiple instances of objects with identical properties, streamlining your development process.