imported>Xekri No edit summary |
m ProbablePrime moved page Joint (Component) to Component:Joint: Creating component Namespace |
(No difference)
|
Revision as of 06:29, 20 January 2024
This article or section is a Stub. You can help the Resonite Wiki by expanding it.
Component image
Intoduction
the Joint component allows for a slot or object to rotate around a single point, in any direction, or around an axis. common uses are doors, helmet tops, and dials.
Usage
Name | Type | Description |
---|---|---|
persistent
|
Bool | Determines whether or not this item will be saved to the server. |
UpdateOrder
|
Int | Controls the order in which this component is updated. |
Enabled
|
Bool | Controls whether or not this component is enabled. |
EditModeOnly
|
Bool | User can only interact with the joint in Edit Mode |
AllowSteal
|
Bool | Controls whether other users can steal the grabbable joint from other players |
DropOnDisable
|
Bool | Controls whether the user drops the joint if the object has been disabled |
DontDrive
|
Bool | |
AllowOnlyPhysicalGrab
|
Bool | Only allow grabbing the joint with a physical interaction - remote grabs are not allowed |
ActiveUserFilter
|
ActiveUserHandling | |
CustomGrabCheck
|
GrabCheck | |
_grabber
|
Grabber | |
_holdSlot
|
Slot | |
_pos
|
Sync<Float3> | |
_rot
|
Sync<FloatQ> | |
_scl
|
Sync<Float3> | |
__legacyActiveUserRootOnly
|
Bool | |
GrabPriority
|
Int | |
MaxSwing
|
Float | |
MaxTwist
|
Float | Maximum amount the joint will rotate in the given axis |
Axis
|
Float3 | Determines which axis the joint rotates on. Use 1 to define the axis, 0 to ignore it |
TwistReferenceAxis
|
Float3 | |
PositionTwistThresholdAngle
|
Float | |
VibrationAngle
|
Float | |
VibrationPreset
|
VibratePreset | |
SnapIncrement
|
Float | |
SnapTime
|
Float | The time it takes for the joint to lerp towards given SnapOrientations. Higher the value the slower it takes |
SnapOnRelease
|
Bool | Controls whether the join snaps to given SnapOrientations |
SnapOrientations
|
SnapOrientation | |
origRotation
|
FloatQ | |
rotReference
|
FloatQ | |
dirReference
|
Float3 | |
twistReference
|
Float3 | |
usePositionTwist
|
Bool |