I made the arm of the character aim for the target with ikconstraint but i dont know what to do to limit it i dont want it to be able to aim 360 degrees
you should be able to put a HingeConstraint from the base to the next instance. Then go into the HingeConstraint’s properties and enable “Limits Enabled”. If you cannot find it you may need to change the “Motor/Hinge Type” to servo. Then simply enter in your range of motion!
I’m pretty sure you can’t set a direct angle limit (idk though I’m no expert on these kinds of things). I do believe however there are some bypasses to this.
Limiting joint rotation: using BallSocketConstraint or Motor6D limits (like the shoulder’s UpperAngle).
Clamping the target’s position: in a script to stay within a certain angle or cone in front of the character.
You should also be able to combine both.
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.