Planetary Bodies with Gravity

I’m playing around with a space scenario and want a way to make planets quickly using a blueprint. I have a general idea using the construction script but would like an example. I’m using the flying example and experimenting with a basic sphere mesh and I want the player to experience gravity effects the closer you get. A black hole would be a good example. I want it to emit a specific amount of gravity to pull in the player, but have the amount of gravity fade the further away you are from it. Would this be done with a physics volume or something else?

You can use a Radial Force Component with negative force strength(may require a very high value depending on the radius of the force and the mass of your character.)

Thanks it seems to work in something like a first person game mode when I jump but I’m not sure why it doesn’t work all the time. I’m using the default flying mode now and it doesn’t seem to have any effect at all. I put a very large radius and I can see the lines showing the radius but when I enter it my velocity doesn’t change.

The default flying pawn doesnt simulate physics; thats why radial force has no effect on it. It will work with something like this though: [FREE PROJECT] Physics Driven Spacecraft - World Creation - Unreal Engine Forums

I had even left a BP that fakes radial gravity like this somewhere inside that project as far as i can remember.