Setup Guide - Vaei/Grasp GitHub Wiki

[!IMPORTANT] Watch the Video There is no substitute for watching the video, but here's a recap...

  1. Install Grasp
  2. Create Object Channel called "Grasp"
  3. Create Collision Profile called "Grasp" - Query Only - Object Type: Grasp - Ignore Everything
  4. Go to "Grasp Developer Settings" and assign the new profile
  5. Set as Default
  6. Duplicate GraspTargeting and assign Collision Object Types: Grasp
  7. Add a Grasp component to the Player Controller and assign your new GraspTargeting to the Default Targeting Presets
  8. During Event On Possess call InitializeGrasp() on the Grasp component, passing in the GraspScan ability
  9. Add a GraspableComponent to an actor that you want to interact with
  10. Create and assign GraspData
  11. Create and assign an interaction ability to your GraspData's GraspAbility
  12. When pressing interact input, determine what we want to interact with e.g. use Vigil
  13. Check CanInteractWith() on the Graspable Component (pass it the Pawn)
  14. Check CanGraspActivateAbility() and if true call TryActivateGraspAbility()