Objects going towards another object

How do I make it so that one object such as an asteroid moves slowly towards another object like a spaceship.

2 Likes

you will need to continuously extract the spaceship’s x and y position with the Extractor block and set them as a global like this.

i’m sorry if this might be a confusing explanation, someone can definitely explain this better

you dont need to do that just extract the spaceship’s x and y from the asteroid, and then plug them into the matching pins on the “point towards”

1 Like

like this

1 Like

It’s easier on lag when you do it that way.

1 Like

Would there be a way without rotating it?

1 Like

no, don’t think so

Thanks for the help though : )

1 Like

Happy to help

i suppose yeah it is but its easier to understand for new players my way

i just said some wrong words

1 Like

and yes you can do it without rotating, its just more complicated

see? ive used this before
whoops thats a little wrong one sec to fix XD
there fixed

1 Like

Thank you so much TheDukinator

2 Likes

you’re welcome

1 Like