Skip to content

CVR Snapping Point

Marker used to align and snap objects together at a defined transform. The closest snapping point that matches a pickup’s snap type is selected by the snapping manager at pickup/release time.

Free-form string tag. Only snapping points whose type matches the pickup’s snap type are considered for snapping. Internally hashed once and cached for fast lookup.

Maximum snap distance in meters. Default 0.05.

UnityEvent fired on this snapping point when a compatible object snaps to it.

UnityEvent fired when an object that was snapped here is released.

At Start, the snapping point registers itself with CVRSnappingPointManager. Enabling, disabling, or destroying the GameObject signals the manager to refresh its list so out-of-scope snapping points are excluded from search results.

  • CVR-GameFiles/ABI.CCK.Components/CVRSnappingPoint.cs
  • CVR-GameFiles/ABI.CCK.Components/CVRSnappingPointData.cs