Adv. Ball Socket
From GMod Wiki
Tool | Back |
Type: | Constraint tool |
Primary fire: | Create ball socket point. |
Secondary fire: | No action |
Notes: | Same as the ballsocket tool, but with more advanced parameters. |
Brief
The advanced ballsocket tool is similar to the ballsocket tool, but allows for more customization.
Instructions
- Fire at any point on any object.
- Fire at any point on any other object.
The two objects are now attached with an invisible ball-and-socket joint. This is like a weld in that the objects keep their distance relative to each other, but they are free to rotate in all directions around the ballsocket point. In addition, you can set how far you want the objects to be able to rotate along the X, Y and Z axis, increase the friction or allow free movement.
Variables
- Force Limit
- The amount of force (in pounds) that it takes to break the ball-and-socket joint.
- Torque Limit
- The amount of acceleration the ball socket can take, Meaning if it has a low torque limit and a high force limit, it can go fast without breaking, but sudden speeding up or slowing down will cause it to break. Likewise, if it has a low force limit and a high torque limit, it can take lots of acceleration without breaking but will break if it goes too fast.
- X Minimum
- Sets the minimum X rotation an object may have relative to the other object.
- X Maximum
- Sets the maximum X rotation an object may have relative to the other object.
- Y Minimum
- Sets the minimum Y rotation an object may have relative to the other object.
- Y Maximum
- Sets the maximum Y rotation an object may have relative to the other object.
- Z Minimum
- Sets the minimum Z rotation an object may have relative to the other object.
- Z Maximum
- Sets the maximum Z rotation an object may have relative to the other object.
- X Friction
- The amount of resistance along the X-axis (roll).
- Y Friction
- The amount of resistance along the Y-axis (pitch).
- Z Friction
- The amount of resistance along the Z-axis (yaw).
- Free Movement
- If selected, objects that are ballsocketed can move independently of one another. Basically there is no set relative distance between the two objects.
- No Collide
- If selected, objects that are ballsocketed will pass freely through each other.
Useful hints
- Using free movement and restricting rotation along the X, Y and Z axis (setting minimum and maximum to 0) you can make 2 objects move independently of one another yet remain aligned perfectly. If one object rotates, so does the other.
- Objects can also be aligned to the world, and can even be made to noclip with the world if noclip is checked.
|
This article is a stub. You can help the GMod Wiki by expanding it. |