• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!

Rotated weld joint

C

Cyranh

Guest
Hello GameMakers!

I'm experiencing some trouble when welding a rotated object using a weld joint.
So for example one instance is rotated 90 degrees using phy_rotate += 90;
Then, it is joint to another instance using physics_joint_weld_create(id, Other, x, y, 0, 0, 0, false);
This will cause the rotated instance to rotate back to its original rotating, and then create a joint...

How do I create a joint between rotated instances, without having them rotate back?

Note: a Revolute joint doesn't have this problem, but that won't work in my specific case.

Thanks in advance!
Cyranh
 
J

jackhigh24

Guest
iv not played with that function yet but as it says it attaches at the point you tell it to then are your instances origin set to center
 
Top