Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
3

How to fix character glitch where character tumbles when his torso is 90° relative to Y axis?

Asked by
Tiranin 45
10 years ago

I am trying to crate artificial gravity, but I have the dearest problem:

whenever the character comes near the bottom half of the planet, he tumbles and rolls and never stands up.

To make the gravity, I am using BodyForce and BodyGyro. Force is used to apply the force, and gyro to make vertical to the planet. BodyGyro causes player to reach 90° relative to Y axis and makes him tumble, but without BodyGyro character is unable to walk on the planet (except on the tip-top).

I am not sure what causes it: I tried editing Animation script, tried making HumanoidRootPart be in same angle, tried eiditing VelocityMotors (limbs and neck); but the result was always a failure.

I am hoping if anyone knows how to fix this annoyance.

0
In general the Humanoid object doesn't play nice with alternative ways "up". Doing it with a pseudo-character which does not depend on a humanoid directly might be a better options. BlueTaslem 18071 — 10y

1 answer

Log in to vote
3
Answered by 10 years ago

Since humanoids now have HumanoidRootPart, it's easy to do. Rotate character using weld within HumanoidRootPart, instead of using bodyGyro, and it should work nicely.

Ad

Answer this question