Angular Limits: Difference between revisions
| Nikitaivanov (talk | contribs)  (Created page with "Changes a constraint's angular limits. Set the lower limit higher than the upper limit for completely unlimited movement.  Examples: * Lower 0,0,0 and Upper 180,0,0 allows the part to rotate up to 180 degrees (half of a full rotation) in one direction around the X axis (the right arrow when looking from the top down), similar to a lever * Lower 0,0,-360 and Upper 0,0,360 allows the part to rotate up to a full turn in both directions around the Z axis (the up arrow), simi...") | -u ndefined- (talk | contribs)  m (Add related articles and link to existing pages) | ||
| (3 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
| Changes a constraint's angular limits. Set the lower limit higher than the upper limit for completely unlimited movement. | {{Block | ||
| |image=Angular Limits.png | |||
| |type=s | |||
| |folder=physics | |||
| |input1={{Port|e|Before}} | |||
| |input2={{Port|c}} | |||
| |input3={{Port|v|Lower}} | |||
| |input4={{Port|v|Upper}} | |||
| |output1={{Port|e|After}} | |||
| }} | |||
| Changes a [[constraint]]'s angular limits. | |||
| Set the lower limit higher than the upper limit for completely unlimited movement. | |||
| == Examples == | |||
| * Lower 0,0,0 and Upper 180,0,0 allows the part to rotate up to 180 degrees (half of a full rotation) in one direction around the X axis (the right arrow when looking from the top down), similar to a lever | * Lower 0,0,0 and Upper 180,0,0 allows the part to rotate up to 180 degrees (half of a full rotation) in one direction around the X axis (the right arrow when looking from the top down), similar to a lever | ||
| * Lower 0,0,-360 and Upper 0,0,360 allows the part to rotate up to a full turn in both directions around the Z axis (the up arrow), similar to a steering wheel | * Lower 0,0,-360 and Upper 0,0,360 allows the part to rotate up to a full turn in both directions around the Z axis (the up arrow), similar to a steering wheel | ||
| * Lower 0,1,0 and Upper 0,0,0 allows the part to rotate freely around the Y axis (height), similar to a fidget spinner | * Lower 0,1,0 and Upper 0,0,0 allows the part to rotate freely around the Y axis (height), similar to a fidget spinner | ||
| == Related == | |||
| * [[Add Constraint]] | |||
| * [[Linear Limits]] | |||
| * [[Angular Motor]] | |||
| * [[Angular Spring]] | |||
| [[Category:Blocks]] | [[Category:Blocks]] | ||
Latest revision as of 12:24, 29 July 2025
Angular Limits
  | Type | Script block | 
| Collider | None | 
| Folder | Physics | 
| Ports | |
|---|---|
| Inputs | Before Constraint Lower Upper | 
| Outputs | After | 
Changes a constraint's angular limits. Set the lower limit higher than the upper limit for completely unlimited movement.
Examples
- Lower 0,0,0 and Upper 180,0,0 allows the part to rotate up to 180 degrees (half of a full rotation) in one direction around the X axis (the right arrow when looking from the top down), similar to a lever
- Lower 0,0,-360 and Upper 0,0,360 allows the part to rotate up to a full turn in both directions around the Z axis (the up arrow), similar to a steering wheel
- Lower 0,1,0 and Upper 0,0,0 allows the part to rotate freely around the Y axis (height), similar to a fidget spinner
 
	