How to make a jump system without a real ground

Hey everyone, I’ve been working on this for days now—almost a week—and it sucks because it’s supposed to be easy. I think I made a wrong move by asking ChatGPT. I used it once before on a super complicated problem in the workshop. In conclusion, it kept telling me to turn on/off certain conditions, add new rules, and nothing ever worked. Anyway, bad idea.

What I’m trying to do is really complicated, but if I explain it right, it might seem simple. Think of a flat map like the Expanse workshop map, where you can jump around—just like how the jumping system works. I just want that ground to be put in a place where there is no ground like in the Island map at Y Component = -26. Yeah, it sounds crazy why, how, all that? don’t worry, I’ve got an awesome idea. It sounds wild, but the more I explain, the more it makes sense. I think of turning the battle on the actual water outside the map xD.

So how did I do that? I set the gravity to 0. And in order to jump since there’s no ground, I used an upward impulse (around 10) to jump. Once i fall back and hit Y = -26 (which I consider as the ground), I reset gravity back to 0%. The problem is, when I jump and land at that ground, even after setting gravity to 0%, I still fall and die.

So yeah, I’ve got most of it done. The jump works, but sometimes it doesn’t, and I keep dying. It’s not working like 100% as it should , just need someone to check the rules in case there’s a small issue or something missing.

If anyone’s free and wants to help someone like me, I’d definitely invite you to this soon-coming of an amazing workshop :slight_smile: Code’s ready, setup’s done just stuck on this one thing for nearly a week now.

Thanks for taking the time to read this & for your consideration :heart::pray:t2: Here is the code : 6MD3N

Pssst if you actually went in and saw the code and played it, it does look weird because i didn’t add all the other rules that makes it seem playable, everything else is good except the jumping system so yeah.

the trick is to cancel out the downwards impulse with a very tiny impulse that uses Cancel Contrary Motion and goes upwards (so that it is Contrary to the downwards velocity) i usually set it to something like 0.001 or something.

if you do that after the gravity is set to zero, then the player will lose all downwards velocity and stop falling. (I’ve worked with similar things before, not fake ground but fake flight mimicking blizzards flight system with echo & sigma, etc…)

I dont actually play the game or do workshop in it anymore, since i left the workshop… so i didnt load your code, but im experienced in this topic and just the workshop in general (was activity using it from release in 2019 to 2023)

Hello dear spidey! How are you?
Sorry for the long waited response :sweat_smile: I’ve tried you’re suggestion and i’m glad it worked! though if i have to be honest… there is a slight 5% or 10% of chance that the method stops working and i fell off the map but then it works again, I’m kinda happy with what i got so far if its at least working above 80% i’m happy, since there are limits in the overwatch workshop and not every idea can be accomplished but it’s fun to give it a try sometimes!

If i may ask, if as you say that you no longer work on the workshop and not even play the game anymore, then why do you still help people out here? i get that sometimes people like to help in general, but seeing you neither work on the workshop or even play the game still makes me wonder.

Also, if in any chance, if you decided to come back to the game some day, just let me know so i could let you try the workshop! i’d bet you’d find it surprising and maybe fun!

I stopped working on the workshop because of the state is was in, the main things i made were AI… i had a mode i called Universal AI that setup a full team on both sides that was able to play any hero and use any ability in the game (some better than others of course)

But in the state the game was in, i couldn’t even test my AI anymore… Game crashed everytime, now thats wasn’t really a new thing… running 11 or 12 complex AI with pathfinders and targeting systems is no easy task, but normally if lowered the AI count to 4-6 it would be fine. But it had gotten so bad that if i recall correctly it was crashing while running 2 or more AI…

And around the same time i had started swapped to PC in general (i was doing it all from Console before… such a pain, manually writing AI’s on console, would not recommend), So i had also now gained access to two more tools. Unity & MCreator, one being a tool to create App’s that im sure you probably well aware of, and the other a tool for developing mods for minecraft.

Thats why i stopped using the workshop personally, i just moved onto other things. I also had stopped playing the game a few years before that because i was no longer friends with the person i used to play it with.

The reason i still help people on the forums is for a few reasons…

  • To be honest i am introvert (though you probably cant tell from my posts on here), and i had no friends or anything… So coming here was a way for me to get used to engaging with online communication via text so i could meet new people and find friends (Which did work btw, very helpful… i am more more comfortable texting strangers now and i did find friends in the end thanks to that)
  • Routine, i dont have much happening in my life… or at least i didnt at the time and i like routines, so after i started checking on this site and replying regularly i got used to and because of that im less likely to stop, though i do check the site less often now since now i have other things to do.
  • I have all this knowledge of the workshop… all this experience from using it for so many years, it makes me feel somewhat obligated to help those with less understanding and pass along the knowledge.

Me posting here started as just something to pass the time, i had no friends… barely had anything to do, i just kept to myself working on Gamemode in the workshop and posted them on workshop.codes / my youtube channel.

On workshop.codes i had started replying to comments on my stuff, which got me slightly used to messaging strangers online (i was 16-17 at the time, this was my first time messaging strangers…), At somepoint i started leaving comments on other peoples posts, providing a lil bit of help when needed and stuff.

Then i found out about the forums, i dont recall how… So i reluctantly left a piece of advice on the first post i saw, still afraid of what they might say despite the fact im just helping them… That same day i got a response, it was positive my comment even got hearted.

That showed me that maybe i shouldn’t be scared to comment on things online, that my advice could help people if i was just brave enough. So that realisation along with the fact i knew if i was gonna find friends eventually i would have to get used to some form of communication and texting seemed like a great option for me (still my favourite form of communication)

So i continued helping people, both being liked by the community for helping so many times but also helping myself be better at interacting with people. With eventually lead to me hosting my own server on a game where gave me somewhat friends on that server, it died at somepoint but before it died a girl joined in January and we got along well, continued being friends after my server died even started dating a few weeks ago.

That covers why i left the workshop, why i continue to help people and the story of why i started (as well as the happy ending afterwards), so now i just need to answer your last point about if i would return to the workshop. The answer is just simply no I’ve moved on, I’m now a minecraft Modder with about 12 uploaded mods totalling at over 50K downloads, 2 of the mods have 10K downloads on their own. Im doing well in a new community, even better than i was before. Meanwhile the workshop hasn’t really got any better from what i can tell, only had more bugs pill up over time.