I’ve wanted to get more familiar with UE4, so I’m setting out implementing different powers. First one is Telekenesis.
I really liked how in the game Control, objects that would be picked up are highlighted, so I started with that, making use of Post Process Volumes. (Ompf, I just noticed the conversion to gif process didn’t do a good job depicting the green line but you get the idea). When the middle of the screen is over a movable object it highlights it. If the player activates telekenesis, the outline is disabled:

Ok, now throw that box away! I added this idea that pressing a button while holding an object will “charge” your telekenesis, so that when you eventually throw the object it would have a higher velocity.
I wanted an easy way to signal to the player that they have charged their power, so I scale the block smaller and smaller while each time they charge. Then when they release it, it lerps to its original size.
Charge 0 (just flops to the ground):

Charge 1->3:


