Okay, so I am trying to create a fake character or also known as a custom character without an Humanoid.
Everything works fine I can move I can jump. But now here’s the issue.
Every time I move, I noticed that my character doesn’t change it’s rotation.
I noticed that the problem is happening with a BodyGyro, which I am using so the character doesn’t fall down to the ground.
local bg = Instance.new("BodyGyro", tor)
bg.D = 40
bg.P = 10000
bg.MaxTorque = Vector3.new(4000000, 4000000, 4000000) -- This is where the problem starts.
By setting the Vector.new Z value to 0, It kind of is able to rotate, just not where it’s supposed to.
Do I have to set a CFrame to the BodyGyro in a while loop? (BodyGyro.CFrame = CFrame.new()) or do I have to change the MaxTorque?
If you want your character to rotate but also have body gyro then you have to update the orientation of the body gyro at every step. This is not that expensive if you do it client side in a local script. Hopefully, you moving script is a local script.
Why don’t you add a humanoid? It would make your life 100 times easier. Is it something to do with your game? If you add a humanoid, it’s auto rotate will rotate the character as you wish.
I made a custom character put in your script and added a humanoid everything worked fine, as stated above by theyoloman just add a humanoid and it should work fine!
Peace,
Fried
So what I’m getting here is your wanting a character without a humanoid? well then you will need to create multiple animations for walking, running,etc,etc
Well, in my case. It would benefit a lot. Since the game I recorded the video in is not mine. But is used to test and create scripts. Since then I wouldn’t have to worry about people who used leaked scripts mass-killing and a lot of more other stuff.