maxPoints

This commit is contained in:
2026-04-13 08:43:30 +03:00
parent 36bd33b1f9
commit c69070fdc8
10 changed files with 31 additions and 9 deletions
@@ -5,6 +5,9 @@ class GenericObject extends EventManager{
#actions = [];
constructor(engine, data){
super();
if (!data.description || data.exclude){
this.maxPoints = 0;
}
return new Promise(async(resolve, reject)=>{
this.source = await engine.load(data.$go.asset.name);
this.object = engine.meshUtils.bottomOrigin(this.source.scene)