Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Squeeze Softbody
#8
(10-01-2023, 04:31 PM)patriot4947 Wrote: It doesn't work. All settings are below.

It should, I just tried the same settings on a cylinder and it rotates fine (just had to adjust the joint axis so that it rotates around the correct axis). Your screenshot shows that the rigidbody’s angular velocity is 0.49 rads/sec on the Y axis, so it should be rotating for you too? is the rotation not visible?

Make sure you’re not forcing rotation from any other component/script. If this happens, no matter how high the angular velocity is or how high a torque the motor applies, rotation will be forced to be a specfic value. Nevertheless, joints are standard Unity components so I’d recommend asking on the Unity forums for assistance with them.

Note though, that it is not needed to constrain the position of a rigidbody if you’re using a joint to keep it in place. You can uncheck all the position constraints on your rigidbody component.

kind regards,
Reply


Messages In This Thread
Squeeze Softbody - by patriot4947 - 10-01-2023, 03:35 PM
RE: Squeeze Softbody - by josemendez - 10-01-2023, 03:38 PM
RE: Squeeze Softbody - by patriot4947 - 10-01-2023, 04:01 PM
RE: Squeeze Softbody - by josemendez - 10-01-2023, 04:06 PM
RE: Squeeze Softbody - by patriot4947 - 10-01-2023, 04:19 PM
RE: Squeeze Softbody - by josemendez - 10-01-2023, 04:23 PM
RE: Squeeze Softbody - by patriot4947 - 10-01-2023, 04:31 PM
RE: Squeeze Softbody - by josemendez - 10-01-2023, 05:22 PM