In the game I am developing, I want the collectables to move to you faster when they are closer to you, and when they are further away from you, they move much slower.
Hey, what about setting the collectible’s speed inversely to the distance from the player?
If you didn’t want to do a mathematical formula you could also set the speed based on ranges. So adjust speed in clips as the collectible enters a new range.
Wait . . . isn’t there a magnetic behavior? It might already have what you’re looking for in it.
Thank you so much! This was very helpful!
1 Like