2 objects should stuck with each other

Get help using Construct 2

Post » Sat Sep 16, 2017 11:28 am

hi folks,

I am making a game. now, i have an issue. When one player is in touch with another object. Both should stuck 100% with each other.

what is the logic for that. please suggest me any logic for that.
B
6
S
1
Posts: 20
Reputation: 392

Post » Sat Sep 16, 2017 11:33 am

You can use the Pin behaviour which pins the object to the player. https://www.scirra.com/manual/99/pin
B
47
S
17
G
82
Posts: 2,230
Reputation: 48,607

Post » Sat Sep 16, 2017 12:59 pm

Hi plinkie,

every time, position and angle of both objects changes. so, this logic is not working for me. can u please suggest me another logic.
B
6
S
1
Posts: 20
Reputation: 392

Post » Sat Sep 16, 2017 1:14 pm

When you pin you can choose to to take the angle of the object or the position. i.e. the pinned object does not rotate with the object it is pinned to. You can use set position to an object also. I have to guess what you are trying to do though, it's not really clear.
B
47
S
17
G
82
Posts: 2,230
Reputation: 48,607

Post » Sat Sep 16, 2017 1:23 pm

hi,
thanks a lot for ur help.

i think, i have to show u my game's video. then only u will understand , what i am telling u.

m working to make a link of video of my game. i will share the link, once it's created.
B
6
S
1
Posts: 20
Reputation: 392


Return to How do I....?

Who is online

Users browsing this forum: maranpis, totoe and 24 guests