Interaction Parameters - Vaei/Grasp GitHub Wiki
[!IMPORTANT] Read this to learn what each of the GraspData Parameters do
Available Parameters
As of version 1.0.0 these are the parameters available to GraspData.
[!TIP] You can add your own
Core Parameters
GraspAbility
The Ability that is used to interact with this data's owning GraspableComponent
Visualized Parameters
[!TIP] You can hide Visualizers using
p.Grasp.Visualize 0
When you select any GraspableComponent it's interaction parameters will be visualized like so:
Here is a breakdown of what each parameter represents:
Additional Parameters
Normalized Grant Ability Distance
Learn about this parameter here
Grasp Distance 2D
If true, distance checks when attempting to interact with the ability will be performed in 2D space, ignoring our vertical distance.
Auth Net Tolerance Angle Pct
If we have authority and we're not running in standalone, then we add a tolerance of this % to the MaxGraspAngle check, this allows for forgiveness if the client isn't quite within the required angle on the server for a more stable experience.
Auth Net Tolerance Distance Pct
As above, but for MaxGraspDistance.
Miscellaneous Parameters
Focus Requirement
This is an optional parameter you can utilize that is not implemented by Grasp. It is a common parameter that you could implement in your project if the behaviour is desired. This is intended to prevent ability activation if we don't have focus, and end it if we lose focus, optionally.