How do I Weld/Glue/Pin sprites with physics?

Get help using Construct 2

Post » Mon Oct 17, 2016 3:20 am

I know that pin and physics dont work too well, but is there a way to make a replacement for pin that works with physics? Is there some way to glue sprites to other sprites, like how you can weld objects together on Garry's Mod?
B
27
S
12
G
5
Posts: 79
Reputation: 5,223

Post » Mon Oct 17, 2016 4:51 pm

You mean create a joint?


From the manual

Physics actions: Joints

Create distance joint
Fix two physics objects at a given distance apart, as if connected by a pole. An image point can be specified to connect to a specific part of the object. Note that an image point of 0 specifies the center of gravity of the object - if you intend to connect to the object origin, use -1.
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Mon Aug 14, 2017 5:12 am

I want to fix two physics objects together as if they were glued together, not create a joint. The problem with doing this with pin is that it just breaks the physics behavior. I'm trying to make a game like Reassembly, but multiplayer.
B
27
S
12
G
5
Posts: 79
Reputation: 5,223

Post » Mon Aug 14, 2017 6:09 am

Create a revolve joint but with a range of 0 & 0.
ImageImageImage
B
71
S
21
G
221
Posts: 3,649
Reputation: 124,227

Post » Mon Aug 14, 2017 8:09 am

Thanks allot, as you can tell by the age of the thread I been needing this awnser for a while now.
B
27
S
12
G
5
Posts: 79
Reputation: 5,223


Return to How do I....?

Who is online

Users browsing this forum: leandrogenske and 12 guests