Modify NavAgent Trait

This commit is contained in:
QuantumCoderQC 2021-09-03 21:00:58 +02:00
parent 32b745f829
commit 214b84fcf7

View file

@ -8,9 +8,9 @@ import iron.system.Tween;
class NavAgent extends Trait { class NavAgent extends Trait {
@prop @prop
var speed: Float = 5; public var speed: Float = 5;
@prop @prop
var turnDuration: Float = 0.4; public var turnDuration: Float = 0.4;
var path: Array<Vec4> = null; var path: Array<Vec4> = null;
var index = 0; var index = 0;