Create entities by code

I created a class and I would like each object in that class to be an entity within my simulation. How can I create several objects and consequently several entities through code?

Hi @Lendork!

On the page below you can find everything you need to know.

https://developer.playcanvas.com/en/tutorials/programmatically-creating/