Gyroscope at Max Speed still fails to keep object upright?
I am trying to this custom FPS controller which doesn’t use a puppet but is instead made out of invisible block. The body has a spherical base to better manage different terrain.
I have an issue with climbing slopes however...my Gyroscope doesn’t keep the object upright and it starts falling over and picking itself back up constantly.
How would i fix this without having to angle the player to the surface always? If i have to match the surface angle i’m unsure how to do that either :P
-
I use a teleporter instead of a gyroscope when I have to be absolutely sure of the object’s rotation.
My setup:
Capsule (player’s body shape) is movable and collidable
Block is movable and not collidable
Block has a Look At rotator (same effect as gyroscope but a bit more flexible about the orientation)
Block teleports to the capsule’s position, but not its rotation
Block has the rotator for the right stick X axis for turning.
Capsule teleports to the block’s orientation, but not its position.
Since the block isn’t collidable it won’t be pushed into the wrong orientation by collisions, and the capsule will copy that orientation with its teleport rotation.
If you wanted to angle the player to the surface, you could use a Laser Scope to get the ground orientation and use that as input for the block’s Look At Rotator’s look direction. -
'@phort hey could you add me on psn, same username. Tried to contact you but couldn’t :/
-
'@MadPropz101 Added you on PSN, but you could add me on discord @Timmay#1001 if you're on there. I'm not very likely to see PSN messages, but I should see discord messages.
댓글을 남기려면 로그인하세요.