Planet gravity Third Person Character Stand up problem

hello Everyone,

how are you all …

i am working on project that spaceship and planets things
i have applied a force to the planet by ((Radial Force Actor)) And stopped the gravity on the ((Third Person Character))
but still the Character don’t stand up on the planet

and this multi planet game…

How i can set the ((Third Person Character)) to make Central Rotation Z of the Character to ((Radial Force Actor)) after the Character get inside the Radius of the ((Radial Force Actor)) ?

In the world settings select the option to replace gravity and put 0
In the character options make sure the gravity is above 1

If it does not work, set 0 to both, since the Radial Force Actor was created for the object

What you’re looking for is how to rotate your character so that his feet are facing the center of the planet I assume. I already tried that and what you need to do is to literaly set your character’s rotation to something (not add rotation), but that “something” is the experimenting part.

I’m not exactly sure, how is a vector translated into rotation (using the GetRotationFromXVector I think) bout what you can do is some debugging. For example: subtract your player’s position from the plane’t center and you’ll get a vector.

To get only it’s direction you have to Normalize it (with a function) and then try translation that into a rotator and see what happens in different cases.

If you notice, that your character is always facing in a certain direction relative to your planet’s surface then try changing your character’s relative rotation to a certain point, where it will always fix the rotation no matter where on the planet he is.

This is just an idea for making this kind of mechanic. I hope my answer helps you, if you have questions, post them in the comments.

Both didn’t work

i want just a way to set Z rotation to the planet
and it will work for sure

i need only blueprint secrept for how to do that

some other developer friend say ‘’ it is ezy ‘’

Just use the twin stick pawn, then add a skeletal mesh component to it to get a character in there.

i didn’t understand how ??