I’m currently working on a game that’s supposed to have fairly limited mobility in terms of jumping, as I plan on replacing the contemporary jumping feature with the ability to scale walls. I’ve been thinking about ways to do this in a dynamic manner through raycasting based on spacebar input and checking if the object is the proper height to vault over.
The one case I’m having difficulty solving is vaulting over “fences,” which encompass any object that is taller than your character. How would I properly check if the vaulting path is obstructed by another part and how would I move the character up, over, and allow them to drop?
I’m not asking for any code, just a general flowchart-like explanation of how to do this efficiently where it feels responsive & can work just about anywhere.
I don’t think I entirely understand what you’re asking, but I’m not saying any of these things are particularly difficult. I’m asking for preliminary design suggestions on how to make a system like such efficient and fluent.
If you have any suggestions on networking or physics-based solutions that could solve these questions, it’d be nice to hear them.
Hello, Sorry If This Ain’t Relevant Anymore But I Did Vaulting Script A Second Ago Which Does Not Limit You To The Part Name So If You Want I Can Send It Here.