Hi guys! I don't know much about javascript, so my questions may seem a bit (or very) naive... Is it possible to spawn an object with code instead of choosing the asset manually with the Asset Manager in the attributes panel? I would like to change the Code of the Spawn-Node (line 13) and define "asset" directly by choosing the name of the object: Code: let asset = this.attribute('Asset');
Hi there. Yes you can easily do that. Please find attached a new spawn node you can just drag and drop it into your asset.