|
Post by redsam121 on Jan 20, 2023 4:43:24 GMT
I'm trying to create a mario galaxy style gravity system. The gravity system is based on this:
I've perfected the ground check to work in different directions based on the center of gravity, so that's no longer a problem.
My problem is moving around on the sides of an object. Walking upside down works fine, but for the sides such as left, right, forward or back, the character becomes stuck due to being unable to move or rotate in the Y-Axis.
If tried many alternatives to MoveCharacter and RotateToDirection, but I can't quite get them to work. Can anyone help me make an alternative method of moving the character based on their orientation of gravity.
Here's how it works with the current methods unchanged: Note: I'm not pressing jump on the side of the cube, the character is trying to move in that axis, as well as try to rotate in the y axis.
|
|