Hello everybody so I needed some help with this, so for my sonic game I wanted to make a gravity control just like in this type of video link that I am about to show, and I know that a developer name EgoMoose has made a gravity controller but that’s not what I am looking for basically because it doesn’t have the exact same thing…
For what I need help with is something in this video, so at 0:07 notice how hes using his spindash and run to get up that ramp and when there are no gravity scripts in roblox studio people walk on it the wrong way as you know what I mean. And this video if you wanna see because its the exact thing but he just focuses on this more "the oscillation around a sphere was patched a bit, but it causes issues with cylinders" - YouTube
I want to achieve completing my game so that people can have more experience in it and have fun.
The problem is that I don’t exactly know how to add this in my game and I needed some help.
Thanks for viewing my topic and while im at it, if your helping me get this problem solved could please explain the steps nice and easy so I understand because I haven’t used roblox studio in a while and I forgot somethings.
Either a video or Step - by - Step willl help me out.
You will really need to use ego moose stick gravity that what he uses in the video like he does humanoid.Running:Connect(function(speed) he check its speed then if its speed is huge then stick the character to the wall if not then it will fall
Can you send me a link of his video please, but what about the when you jump off?!? you still stick to it and you can’t jump off, thats why i don’t want to use his gravity controller
I saw it and it doesn’t seem to be working i followed the steps but didnt work, could you record a video of it so I fully understand what to do if you can.
by the looks of it, it seems like you’re just asking him to make a script for you. That’s not how it works, this is for asking for HELP on doing it, not by somebody giving you a script for it. I recommend having initial knowledge on something like this instead of asking for others to do it
I’m gonna bump up this topic because I’m interested in creating this (or for someone else to create it). How would you check the speed of the humanoid using this function ( humanoid.Running:Connect(function(speed) )? My scripting knowledge is kinda small, so I’m confused. I tried doing this:
but as I said, my scripting knowledge is small, so this could be VERY wrong. Any ideas?
when you are using this humanoid.Running:Connect(function(speed)
the speed parameter is the real speed velocity(i think) of which the humanoid is moving. so it wont work if you are putting humanoid.WalkSpeed as it just a fixed value which determine the velocity the player will be moving so you should put it like this
humanoid.Running:Connect(function(speed)
if speed <= 50 then return end
if Controller then
Controller:Destroy()
Controller = nil
else
Controller = GravityController.new(PLAYERS.LocalPlayer)
Controller.GetGravityUp = GetGravityUp
end)
I don’t actually use Humanoids for movement. I use the server to ray ast downward and find the correct orientation. Rotate then move the character according. When moving I make sure the character is flat to the ground.
I use constraints in the newer version to make it smoother.
In otherwords if I were you I would make a new Character Controller that can accommodate something like that.
or just use the Egomooses Gravity Controller if you wish.