Create a new folder called BP, R click, BP class → Actor
rename as GrabActor, open it
Add component Static Mesh, child under DefaultSceneRoot
image.png
change the static mesh as we want to use

Add GrabComponent
image.png

In its Details, choose grab Type: Free or Snap, or Custom
If custom, In events column, On Grabbed and On Dropped can modify the custom grab type
image.png

Go to its even graph:
Useful variables and nodes in BP event graphs should add, for tools or weapons or objects need additional functionality:
image.png
Go to Class Setting tabs (on top), in its details, add virtualintereactionBPI (1st one below) in interfaces
image.png
Interfaces column shows on bottom L column, in which trigger released, pressed and axis nodes are there. they can be worked now






Want to print your doc?
This is not the way.
Try clicking the ⋯ next to your doc name or using a keyboard shortcut (
CtrlP
) instead.