Develop
Develop
Select your platform

Custom Distance Grab Visuals

Updated: Mar 14, 2025
Interaction SDK includes default visuals for distance grab interactions in the form of a targeting beam driven by a Niagara particle system.
Distance Grab Visual
If you want to use a custom visual cue for distance grab interactions in your project, you can create your own Niagara particle system and set it to be used instead.

Specifying the Niagara System to Use

The Niagara particle system to use for distance grab visual cues is specified in the Distance Grab Niagara System property (Grab Interaction > InterationSDK > Grabber > InterationSDK > Distance Grab Niagara System) on each of the rig components in the Pawn: IsdkHandRigComponentLeft, IsdkControllerRigComponentLeft, IsdkHandRigComponentRight, IsdkControllerRigComponentRight.

User Properties Passed to Niagara

The following user parameters will be passed into the Niagara system each frame, enabling you to create an effect that is tailored to the interaction.
ParameterDescription
User.GrabLocation
The location of the pointer pose
User.GrabVector
The direction the pointer pose is pointing
User.GrabTargetLocation
The location of the transform target of the grabbable
User.GrabTargetVector
A vector representing the direction User.GrabTargetLocation to User.GrabLocation
User.GrabbableLocation
The location of the grabbable detecting the distance grab
User.GrabbableVector
A vector representing the direction User.GrabbableLocation to User.GrabLocation
User.IsGrabbing
True if the user is currently grabbing
User.IsGrabTargetValid
True if the grab target is a non-null value (grabbables don’t necessarily have a valid grab target)
User.PinchStrength
A 0-1 value indicating the strength of the user’s pinch
User.IsPinching
True if the user is grabbing with a pinch grab
Did you find this page helpful?