- Home /
Can you define linear limits per axis on a Configurable Joint?
There seems to be no way of limiting linear motion per axis. The Linear Limit settings define linear motion for all three axes. For example, setting LinearLimit.Limit = 10 allows an object to move 10 units from its origin in the X,Y, and Z directions. Suppose I want to limit an object so that it can move 10 units from the origin in only the Y direction, and 3 units in the X or Z direction (lowering a swinging rope). Is there any way to do this?
From the Configurable Joint Docs:
"Limiting Motion
When you have any of the "Motion" properties set to Limited, you can define the limitations of movement for that axis. You do this by changing the values of one of the "Limit" properties.
For translation of movement (non-angular), the Linear Limit property will define the maximum distance the object can move from its origin. Translation on any "Motion" properties set to Limited will be restricted according to Linear Limit->Limit. Think of this Limit property as setting a border around the axis for the object."
Bump!
This question seems too obvious to remain unaddressed: $$anonymous$$aybe there is a simple way to emulate arbitrary axis-specific limits. $$anonymous$$aybe by scaling the joint axes, or by scaling the entire gameobject. Can't somebody else comment?
Your answer
Follow this Question
Related Questions
How to "discharge" the angular power of a configurable joint? 0 Answers
ConfigurableJoint Target Position/Rotation Issues? 1 Answer
ConfigurableJoint Anchors and nested RigidBodies 2 Answers
Configurable Joint not working correctly in a moving vehicle 0 Answers
Violent shaking when using position drive in Configurable Joints 1 Answer