maxPoints
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user