v2.1.0.0
·
1 commit
to main
since this release
Added:
- Pin point to object and Pin points to objects: points follow instances (or one of their image points, including 3D shape faces) every tick, with a Once mode for a one-off move. Unpin point (-1 for all) and Is point pinned.
- Setting or pinning a point past the end of the list grows the list, so per-IID loops work without setting the point count first.
- Per-point width and height: a point's height is the line thickness there and its width is the texture width of the segment starting at it (0 automatic, a value fixes it so the image stretches with the segment). Set point size, Set size of all points, PointHeight, PointWidth and TextureLength.
- With Auto-fit on, changing the object's height (editor, Set size, tween) scales the rope thickness to match.
- Wave shapes (sine, triangle, sawtooth, reverse sawtooth, square) and negative wave periods to reverse direction.
- Set line style (end caps, joins, cross-section points), Set facing (camera position or up vector) and Set performance (maximum drawn points, wave resolution, off-screen culling).
Changed:
- Texture handling is left entirely to the host object. Construct clamps mesh texture co-ordinates to the object's own box, so Auto-fit now sizes the object as the unrolled rope (texture length by thickness at the line's centre). A Tiled Background tiles at its own image scale and scrolls with its own Set image offset; a Sprite stretches its frame. The Texture scroll speed property and actions were removed in favour of the host's image offset.
- Defaults are now Absolute co-ordinate space with Auto-fit on, so a pinned rope resizes its object to cover the line out of the box; the initial ribbon is placed on the object in layout co-ordinates.
- Properties Bar reduced to Initial point count, End caps, Facing, Auto-fit to line, Joins, Cross-section points and Enabled (always last). Co-ordinate space and the wave are runtime-only actions.
- Distortion is now the Wave, described like the Sine behavior: Set wave takes magnitude in pixels, wavelength in pixels, period in seconds, movement (horizontal, vertical, both, across the line, Z elevation) and shape; Set wave magnitude animates it. Replaces the distortion amplitude, frequency, speed, axis and resolution ACEs.
- ACE set consolidated to 23 actions, 7 conditions and 11 expressions: Add point, Insert point, Set point position and Set line take a Z elevation (the 3D variants are gone); Pin point to object absorbs Set point to object and Set point to image point; Pin points to objects absorbs Set points from objects; Set point size replaces the width, height, texture and rest-length actions; Set line between objects, Clear points, Fit object to line, the per-setting appearance and performance actions, Point exists, Is culled and the derived state expressions were removed.
- Point width parameters are now heights (full line thickness, like the object height) instead of half-widths.
Fixed:
- Host set-up no longer depends on the _postCreate hook (falls back to the first tick), an action run before the first tick is no longer overwritten by the default ribbon, and mesh API errors are reported to the console once instead of being swallowed.
- Tiled Background textures no longer stretch their last pixel column past the object's own repeat count.