Trying to learn how to add 3D model to game

Some of that mesh stuff is meant for making / modifying meshes dynamically. Not just using .dae files in your scenes.

I would like to toggle visibility of an entire mesh object dependent on the player position.

You should be able to send disable / enable messages to the component?

In the example the monkey head for instance is represented by the data in the suzanne.buffer file. However, I don’t see any tools for creating this type of file or how to interpret it.

defold_mesh.py in the zip in this post should help you Mesh Component

1 Like