Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bat not wandering even tho I checked more than twice for errors, the bats still wouldn't wander around #2

Open
grand-autismo opened this issue Oct 15, 2020 · 2 comments

Comments

@grand-autismo
Copy link

I have all the code and everything all correct, checked and made sure multiple times for typos and there were none.
I don't understand why the bats still dont wander around

@SilentEugene
Copy link

@grand-autismo I had similar problem. I checked Bat.gd script and found my error - I used global_positon instead target_position in _physics_process function.
var direction = global_position.direction_to(wanderController.target_position)
With target_position it works.

@loljeremy
Copy link

I also had the same error. I think its because @uheartbeast says "global_position" aloud in the video by accident but actually types target_position

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants