Altering the way gravity works

We use unreal 4 in my college course and i’m looking to make a game based around gravity in the same way that VVVVVV did but i can’t figure out how to get a similar gravity altering blueprint and neither can my teacher so if anyone here knows how to do that i would greatly appreciate the help. i’m new here so sorry if my posts breaks any forum rules.