Geometry Effects
Geometry effects alter the actual shape structure, vertices, and mechanical alignments of 3D objects in the scene.
These effects are ideal for deforming models, creating physical snap points, or enforcing rigid rotation constraints on interactive assets.
Snap Chain Effect for Connecting 3D Geometries#
The Snap Chain effect is designed to align and move the underlying geometries of multiple scene objects together, rather than deforming their individual meshes.
To construct a snap chain, every participating scene object must have the Snap Chain effect applied to it. The system functions by linking the connection input of one snap chain effect with the output of another.
It supports toggling realtime updates via isDynamic, and maps physical anchor points using leftVertexTarget and rightVertexTarget 3D vectors. The boundaries can be restricted to specific spherical coordinate limits using the collapsible Left and Right sections (e.g. useLeftBoundaries, leftBoundaryPhi, leftBoundaryTheta, leftBoundaryWidth, leftBoundaryHeight), while rigid axis constraints are enforced using constrainXRotation, constrainYRotation, and constrainZRotation boolean toggles.
Snap Chain
GEO_EFFECT_SNAP_CHAINXR_GEOMETRYXR_UNITSnap Chain Properties Details
| Property & Type | Display Name | System Type | Default |
|---|---|---|---|
isDynamic: boolean | Is Dynamic | BOOLTOGGLE | true |
leftVertexTarget: IVector3 | Vertex Target | VECTOR3VECTOR MULTI INPUT | {x: -1, y: 0, z: 0} |
useLeftBoundaries: boolean | Use Left Boundaries | BOOLTOGGLE | false |
leftBoundaryPhi: float | Boundary Center Phi | FLOATRANGE SLIDER | 0.5 |
leftBoundaryTheta: float | Boundary Center Theta | FLOATRANGE SLIDER | 0 |
leftBoundaryWidth: float | Boundary Width | FLOATRANGE SLIDER | 0.25 |
leftBoundaryHeight: float | Boundary Height | FLOATRANGE SLIDER | 0.25 |
rightVertexTarget: IVector3 | Vertex Target | VECTOR3VECTOR MULTI INPUT | {x: 1, y: 0, z: 0} |
useRightBoundaries: boolean | Use Right Boundaries | BOOLTOGGLE | false |
rightBoundaryPhi: float | Boundary Center Phi | FLOATRANGE SLIDER | 0 |
rightBoundaryTheta: float | Boundary Center Theta | FLOATRANGE SLIDER | 0 |
rightBoundaryWidth: float | Boundary Width | FLOATRANGE SLIDER | 0.25 |
rightBoundaryHeight: float | Boundary Height | FLOATRANGE SLIDER | 0.25 |
constrainXRotation: boolean | Constrain X Rotation | BOOLTOGGLE | false |
constrainYRotation: boolean | Constrain Y Rotation | BOOLTOGGLE | false |
constrainZRotation: boolean | Constrain Z Rotation | BOOLTOGGLE | false |