Original Title: How do you make an object move to the exact spot of another object while it’s moving?
No project link as it’s not out yet,
I originally was using ‘Move Forward objectX Pos’ and ‘Change Y by objectY Pos’ yet it kept moving past the object while it was moving. How do I fix it so it’ll move towards the object
If I understand right, you want an object to be at the same place as another object while it’s moving?
If that’s it, use a
when game is playing
That object X position
That object Y position
if you instead mean to move towards another object, use the following code:
When Game is Playing
Move X by: (Object X Position - Self X Position) / 5
Move Y by: (Object Y Position - Self Y Position) / 5
Thank you so much for the help as it’s worked!
no problem! you can always change the divide by 5 value to make the character move faster or slower:)