|Name of gadget||Elastic|
|Number of Tweak pages||1 (of 4 linear connector types)|
|Last updated||27 June 2019 [EA v1.04]|
The Elastic connector behaves much like the string connector but with springiness, as you’d probably expect. Connect a “parent” object to a “child” object and the two will be held together in a dynamic way that pulls them back together when they get too far apart. It’s unusual among the connectors in that it has no maximum length – instead the connection distance is governed by the forces acting on it, including the elastic’s own strength tweak.
The connector doesn’t work exactly like real elastic – like all connectors, it has no physical presence in the Scene so you can’t wrap it around anything or knot it. Dreams just shows it to you as a straight line between the parent and child gizmos, regardless of how much “slack” there is in it.
Once the elastic is in place, you can can grab the parent to move the connected items as a whole. You can also grab the gizmos at the ends of the connector and reposition these – once they have been assigned to the parent and child objects they don’t even have to be touching those targets! They will act as the pivot points for the elastic so should be placed in accordance with how you want the objects to move together (unlike most other connectors, where the placement is less critical). When the elastic itself is selected, a draggable yellow gizmo appears at the parent end – you can drag this to change the connector’s “slack” length (the length below which it stops pulling):
By default the slack length is set to zero (as shown above) which means the connector will constantly pull the child to the parent, regardless of the distance between them – though the strength which which it pulls will depend on how far apart they are.
With no maximum length and the limit of action being determined by the slack length, you might think that the initial length of the connector is irrelevant. However note that Dreams does remember the initial length and uses this to derive the “connector completion” output (see below). Curiously, while you can increase this “initial” length by repositioning connectors to make them further apart, bringing them closer together does not reduce this value.
Example Tutorial (adapted from Media Molecule)
- Stamp a shape into your scene. This will be the parent.
- Start new sculpture and stamp another. This will be the child.
- Select the elastic connector and connect the parent to the child shape.
- Tweak the child shape and set glow to about 10%.
- Tweak the elastic and connect the “connector completion” output to the glow slider input on the shape.
- Start time and watch the glow effect change as the child shape bounces around on the elastic.
- Connector Type
Here you can change the type of linear connector without having to create a new one; the same connection points between parent and child will be maintained.
The tightness setting is a measure of how “stiff” the elastic is, i.e. how much it resists movement and therefore how slowly its connected objects will move relative to each other. At 0% there is no resistance from the connector itself. At 100% the connector is all but rigid, allowing no relative movement between the two connected objects.
- Slack Length
The slack length is the minimum distance beyond which the parent and child must be separated before the elastic applies any force to bring them together. By default, this is set to zero. It can be tweaked here or on the slider that appears when the elastic is selected.
The elastic’s strength affects the force with which it tries to pull the child back to the parent if it is beyond the slack length. The overall force also depends on the distance – the further apart they are, the greater the force, so a weak connection that is hugely overstretched will pull harder than a strong connection that is hardly stretched at all.
- Collide with Connected
Toggle this to permit or prevent collisions between the child and parent objects when they come together. When this is switched off, the child and parent will pass through each other regardless of their respective collision settings. When switched on, the objects will behave as normal – colliding if they are configured to do so.
- Connector Completion
This output provides a value from 0 to 1 or more as the child obejct moves further from the parent object, with an output of 0 when the parent and child gizmos are exactly together and 1 at the elastic’s initial length. The initial length is determined at the point that the connection is formed between parent and child but can be extended (though not shortened!) by repositioning the child/connectors. The elastic is unusual among the connectors in that its connector completion output can exceed 1; the output value is based on multiples of that initial length.
The power input for the elastic retains the connection but disables the outputs. It also reduces the tightness to 0%. However the strength remains unaffected so a strong elastic will still exert a higher force, powered off, than a less strong one.
Connectors – common properties (click arrow to reveal)
All connectors are completely invisible in play mode. Even the appearance of the connector in edit mode will depend on the current “Show/Hide” settings (there is a specific option for connectors) or whether you’re working on it now. Similarly the “connector” itself has no physicality. So if you want a connection to appear in your scene, or for objects to bounce off it (for example) you will have to create a separate decorative element in addition to the gadget itself.
With most connectors it is important to connect the two sculptures in the right order – connect the (larger yellow) gizmo to the parent first, then (the smaller blue gizmo) to the child. If you ever need a quick way to switch the parent and child relationship, select the connector and click on the “Flip Selected Connectors” icon in the context menu.
When you complete the connection you’ll find that, even in edit mode, the imp can no longer move the child in an unconstrained way – it is limited by the connector’s initial range. Instead you have to move the parent itself and the child will follow.
If you want to move the child independently, hover the imp tip over the child object and press the triangle button (“Reposition connectors”) on your controller. In this mode the ends of the connector will start glowing and you’ll be able to reposition the child object freely. Press circle to exit this mode.
Never connect two sculptures with multiple connectors. Similarly, never make connections in a loop. Such connections are considered invalid in Dreams and will behave unpredictably, if at all (and may even affect your Scene’s performance). When invalid connections are made, the whole connector will turn blue to highlight it (see in the red ovals added to the image here):
Connectors only work with sculptures. To connect paintings you have to cheat a little and include an invisible sculpture in a group with the painting. Then the connector can be attached to the group.