A problem with physics object rotation!

Hi! I am trying to rotate a simulated physics object with a torque.
This is what I’m trying to achieve:

I use one object (body) without physics simulation and two scenes for both rotations, one for forward and one for twist.

The problem is when I try to achieve this with a simulated physics object using torque. I want the forward rotation to be “World Space” and the twist to be “Local Space” as I did with the one without physics simulation.
Do you know how I can solve this?

Torque takes world direction so you’d need to transform it first:

Note that Direction here is already local so you can literally punch in 1 as the desired axis.


Chances are I completely misunderstood the intent.

1 Like

I want for the same simulated physics object to have 2 different torques. One for forward/backward and another for twist (right/left) but the first one to be in the World Space and the second one (the twist) to be in Local Space.

As above then. Transform Direction. The smaller cube uses its own local space.

I see that it only rotates on one axis, I want it on 2 axes on the same object, not on 2 different objects
(one axis on forward (world space) and other on right (local space))

What exactly is stopping you from rotating on any other axis?

image

Parameterise Direction and use it as the desired Normal. That’s your axis right here:

ok and try on the z axis too and tell me if it looks like my first clip or the second one.
I also need X axis and Z axis on the same object.

first, without physics

second, with physics


here i need to change something

Somehow I sense you did not even try to apply what I suggested, did you?

2025 01 06 19 37 23

looks like my second video.

You need to hook it up to the input. This was just an example of how to transform.

same result.

2025 01 06 22 13 13

Look at how straight the blue arrow is rotating in this clip and how the twist doesn t affect the forward rotation. I don t know how to explain it better

(first clip, without physics)