Update Enemy.gd
This commit is contained in:
parent
d586f19c8b
commit
b26eedd1a0
@ -109,7 +109,7 @@ func processAI(objs):
|
|||||||
|
|
||||||
if velocity.length() < 95 && objs.size() > 1:
|
if velocity.length() < 95 && objs.size() > 1:
|
||||||
vec.y += 10
|
vec.y += 10
|
||||||
vec.x -= vec.x * .2
|
#vec.x -= vec.x * .2
|
||||||
|
|
||||||
return vec.normalized() * 100
|
return vec.normalized() * 100
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user