Component:Glue

From Resonite Wiki
Component image 
Glue component as seen in the Scene Inspector

The Glue component is generated by the GlueTool when the user press and drags primary with the tool equipped. The mode on that tool determines what this component's GlueMode will be.

Fields

Fields
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. Some components stop their functionality when this field is disabled, but some don't.
GlueMode Glue.Mode How to Glue the objects in the area or effect.
Active Bool Whether this component is ready to glue.
DryTime Float How long it takes for this Glue to dry.
Expire Double When this component should delete itself in world time.
GluingUser User The user that is gluing this glue.
_forceDry Bool Whether to force dry this glue.
isDrying Bool Whether this Glue is currently drying or not.
dryStartTime Double When the user triggerd this Glue to start drying in world time.

Mode

Values
Name Value Description
ParentObjects 0 Parent objects will parent all objects within the glue bubble to a single parent.
BakeMeshes 1 Bake meshes will bake all meshes within the glue bubble to a single asset.
BakeSkinnedMeshes 2 Bake skinned meshes will bake multiple skinned meshes in a single asset.

See Also