Distance between objects and speed

Get help using Construct 2

Post » Tue May 24, 2016 9:44 am

Hi people, I need a lil help with something and know tht one of you will have a simple solution for me :)

So basically I want a object to move towards the mouse every tick with a physics force but if its far away I want it to move fast towards the the mouse and when getting closer to gradually slow until a stop when overlapping the mouse sprite, any elegant solutions? thnx
B
5
Posts: 18
Reputation: 229

Post » Tue May 24, 2016 10:06 am

Hopefully following example will give you an idea:
https://dl.dropboxusercontent.com/u/659 ... ine01.capx
ImageImage
B
105
S
46
G
23
Posts: 778
Reputation: 22,226

Post » Tue May 24, 2016 10:32 am

alextro wrote:Hopefully following example will give you an idea:
https://dl.dropboxusercontent.com/u/659 ... ine01.capx


Hey thnx for the reply but cant test the capx just now as not on my computer,
any chance you can screenshot the solution?
B
5
Posts: 18
Reputation: 229


Return to How do I....?

Who is online

Users browsing this forum: ChoosyZerk, jorgmaquoi and 60 guests