fix pad animation not working

This commit is contained in:
RandomityGuy 2022-12-17 13:51:19 +05:30
parent 80d6cb43b6
commit 51a48609dd
2 changed files with 2 additions and 0 deletions

View file

@ -34,6 +34,7 @@ class EndPad extends DtsObject {
this.dtsPath = "data/shapes/pads/endarea.dts"; this.dtsPath = "data/shapes/pads/endarea.dts";
this.isCollideable = true; this.isCollideable = true;
this.identifier = "EndPad"; this.identifier = "EndPad";
this.useInstancing = false;
} }
public override function init(level:MarbleWorld, onFinish:Void->Void) { public override function init(level:MarbleWorld, onFinish:Void->Void) {

View file

@ -8,5 +8,6 @@ class StartPad extends DtsObject {
dtsPath = "data/shapes/pads/startarea.dts"; dtsPath = "data/shapes/pads/startarea.dts";
isCollideable = true; isCollideable = true;
identifier = "StartPad"; identifier = "StartPad";
useInstancing = false;
} }
} }