- Home /
Question by
falconstrike209 · Dec 12, 2021 at 02:05 AM ·
speedfloatastar
how would I change maxSpeed through script? (A*)
I set up a simple ai using A*. I would like to modify the maxSpeed value inside of my script. I simply need to know what code I actually need to write to modify this. I have a public float called "enemySpeed" and I'd like to set A*'s maxSpeed to be equal to enemySpeed in Update(). Anyone know how I can do that? thanks.
Comment
Your answer
