Physics weld joint

GameMaker Studio developers

Physics weld joint

Physics weld joint are rotary joints with voltage frequencies. This is very useful for creating objects that exert an elastic spring energy.

SoloStudio Tech Youtube Channel


1.0 – Adjusting the center of mass

Let’s start by creating our partner in the same way we did in previous chapters. But this time, by modifying our model, we will adjust the center of mass to notice the type of joint that we explain today.

After selecting a WELD type joint, we open our SET JOINT panel to select which object the joint represents.

By selecting our union, we will be invited to position the coordinates of the board in question. Holding CLICK LEFT, we will position the joint in the same center of mass of our object.

Before starting the simulation, we show you an image of our values in physical properties. We contemplate that we have chosen a collision of the CHAIN type, because in this way, we can adjust the size of the block that defines its mass.


1.1 – Joint settings

As we can see, our object acts as a trampoline. We will be able to adjust the frequency and spring force to achieve different results.

In the image below, we decided to adjust the coordinates of the mass to test other results. Setting a frequency of 4 and the spring capacity at 0.20, 0 being an object without applicable voltage. We also observe that there is a variable called REF ANGLE. This variable determines the angle of reference at which our platform tends to rotate. If our object is not at the indicated angle, it creates a force that pushes it to rotate at the indicated value.


1.2 – Simulation test

Today’s example shows a platform with a joint in its center. Its engine applies a force so that our block rotates towards the reference angle that we have defined. In the case that concerns us, the reference angle is 0, applying a rotational force that takes our platform to that value.


Recommendation:

We strongly recommend that you view the video located at the beginning of this article to get a clear idea of this section.

The video tutorials provided on the YouTube channel support subtitle contributions from users. This means that any user can contribute to add subtitles with the editor and the new contribution program of YouTube subscribers.


We finish this brief explanatory about the WELD joint. Having absolute control of this simple tool gives us infinite possibilities that we can use to configure our objects. We thank you for getting here! We will continue to see other types of meetings in the following article. Greetings and see you in the next tutorial!

You may also like:

One Response

  1. Matemáticamenteincorrecta says:

    Viendo el vídeo tutorial, asignado a la explicación escrita en Español. Es realmente fácil operar con Dark spine .Gracias una vez más.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.