Model Entities
Model entities are an entity that is visually representing by a .gltf
or .glb
model. Model entities are the most common type of entity you'll use. For example, players, enemies in your game, fixed and moving elements like lamp-posts or birds, and more, will typically be created using an Entity.
Common Uses & Examples
Let's dive into some common patterns when using model entities.
Bullet Entity
Some games may want a bullet that moves through the physical world and registers a hit when it intersects with another entity. You could alternatively just use a raycast for this, but in this example we'll use an entity.
Extra Large Entity
With model entities, you can control their physical scaling in the world. This allows you to scale up or down the model of the entity relative to its initial size. We'll use model scale to create a massive spider.
Now, we'll see a massive spider!
Last updated