#hanging ledge system

1 messages · Page 1 of 1 (latest)

buoyant zealot
#

I'm currently making a game where everyone is a gorilla fighting each other, and i'm trying to implement a system where, while midair, the player can press space bar to latch and hang onto ledges near them, and stay there until the press spacebar again, but i'm having a hard time getting any of it to work

brave hollow
#

gotta be more specific here, what are you looking for exactly?

#

help with a certain script, or how the system should work as a whole?

buoyant zealot
#

the script, i have the system down fine, the server checks if your midair, then if you press spacebar it fires a remotevent that should let you hang slightly below the nearest edge.

brave hollow
#

to be honest, you probably want to handle this on the client to be smoother

#

considering the client already has network ownership of the character, it'll be a lot smoother if there's no ping delay between pressing spacebar + actually grabbing the ledge

#

likely easier to do all client-side too, and just have the server double check + tell the client off if it's wrong