I can create a new object with
const objectInstance = runtime.objects.Key.createInstance("Keyboard", 200, 150);
But how can I create the hierarchy?
Is there such a thing as this?
const objectInstance = runtime.objects.Key.createInstance("Keyboard", 200, 150, {hierarchy: true});
in the latest beta update (r236) a parameter to runtime.createInstance() has been added for that
Develop games in your browser. Powerful, performant & highly capable.
adnan97m thank you