How do I pull one object to another

Get help using Construct 2

Post » Wed Apr 02, 2014 1:23 am

I'm trying to figure out how to pull the player character object towards a spawned from mouse click object.

Easiest way to visual - Spiderman fires his web at a building, he should be able to swing towards the impact point on the building itself.
B
3
Posts: 6
Reputation: 187

Post » Wed Apr 02, 2014 3:02 am

every tick: move at angle: angle(player.x,player.y,dest.x,dest.y), distance = somespeed * dt
B
92
S
31
G
24
Posts: 3,191
Reputation: 32,699

Post » Wed Apr 02, 2014 3:10 am

You rock, thanks!
B
3
Posts: 6
Reputation: 187


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 12 guests