How do I get the distance between 2 sprites?

For questions about using Classic.

Post » Tue Mar 02, 2010 8:43 pm

I'm using the RTS Behavior to make a character move to an object, but I want it to stop a certain distance away. The only way I think I can do this is by getting the distance between both sprites, so I'd make it stop once it reached a certain distance...
B
2
G
2
Posts: 16
Reputation: 682

Post » Tue Mar 02, 2010 9:03 pm

System -> Math -> Distance between points
B
2
S
1
G
4
Posts: 71
Reputation: 1,342

Post » Wed Mar 03, 2010 12:01 am

Thanks a lot!
B
2
G
2
Posts: 16
Reputation: 682


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 1 guest