I would like to know how i make a gravity gun on unreal 4, someone knows how to do it? using unreal 3 code or something? Maybe with blueprints…
In the “Content Examples” demo load up the “Blueprint_Input_Examples.umap”. The example 1.3 shows a little flying saucer with a “tractor beam” that can levitate/pick up cows and trees and then shoot them out.
I would imagine the code there would push you in the right direction for a gravity gun. Look in BP_UFO_Physics > EventGraph > Abduction beam sequences.
For the actual sucking up and spitting out of the cows/trees they seem to be using the “Set Physics Linear Velocity” node with some math before it to create vectors that either pull an object towards the UFO or shoot them away from it.
is there anything like phys grabber as in UDK?