Hi!
I´m working on an excavator and whant to limit the rotation for the arm. How do I set up this?
Regards steel
Hi!
I´m working on an excavator and whant to limit the rotation for the arm. How do I set up this?
Regards steel
Simplest method would be to use a clamp node and set a min and max value.
You can try setting Physics Constraints in the blueprint and limit the angle but I’m not really sure if that will work correctly.
Or you can do it manually and just check the current angle after the Arm1 input and stop rotating when in exceeds certain angle.
But in this case you’d need to save rotation to a separate variable, then add the axis values to this Variable instead of to Arm 1 rotation, then clamp it, and then [Set Local Rotation] for Arm 1 instead of [Add Local Rotation].
Thanks!
Will try this.