Segment
Description
Configure the segment or tail bones.
Attributes
| Attribute | Aliases | Description | Type | Default |
|---|---|---|---|---|
| modelid | m, mid, model | Targeted model | String | |
| partid | p, pid, part | Targeted segment bone. If not set, configures the entire model. |
String | |
| bounded | b, bd | Is the segment bone bounded by any rotational restrictions. true by default.If not set, use the last value |
Boolean | |
| anglelimit | a, al, angle | The maximum angle in degrees the segment bone can deviate from the parent bone. 50 by default.If not set, use the last value |
Float | |
| x | Shorthand setting maxx=x and minx=-x. Falls back to anglelimit when unset. |
Float | ||
| y | Shorthand setting maxy=y and miny=-y. Falls back to anglelimit when unset. |
Float | ||
| z | Shorthand setting maxz=z and minz=-z. Falls back to anglelimit when unset. |
Float | ||
| minx | The minimum angle in degrees the segment bone can deviate on the X axis. | Float | ||
| maxx | The maximum angle in degrees the segment bone can deviate on the X axis. | Float | ||
| miny | The minimum angle in degrees the segment bone can deviate on the Y axis. | Float | ||
| maxy | The maximum angle in degrees the segment bone can deviate on the Y axis. | Float | ||
| minz | The minimum angle in degrees the segment bone can deviate on the Z axis. | Float | ||
| maxz | The maximum angle in degrees the segment bone can deviate on the Z axis. | Float | ||
| extendrate | e, er, extend | The extend, or straightening rate of the segment bone, where the bone would slowly align to the parent bone. 0 means no straightening at all. 0.01 by default.If not set, use the last value |
Float | |
| elasticity | el | The elasticity of the segment bone. | Float | |
| exactmatch | em, exact, match | Should the part match the partid completely |
Boolean | true |
Examples
This would spawn a model with a tail that is very springy, meaning it can wiggle around.
Skills:
- model{m=rat} @self ~onSpawn
- segment{m=rat;p=tail;extend=0.25} @self ~onSpawn
Aliases
- seg