Is there a way for something like wallclimbing?

As inquired above. Is there any way to put in a gamemode or such a way that you can grab short ledges and hoist yourself up, like in Call of Duty and Assassin’s Creed? (and kind of like GPK/Gmod Parkour)

Yeah, it’s possible. I think you would use a trace for this (well, maybe a couple).

For jumping over small obstacles, maybe you could trace from eye-level, and then trace from waist-level, and if the waist-level trace hits the world at a short distance while the eye-level doesn’t, then it can assume there’s something to hop over.

I’ve never really attempted anything like it, so I wouldn’t be surprised if someone else comes along with better advice

edit: looks like I misread what you were trying to do. for grabbing ledges, I guess you’d trace from eye-level, then from above the player. but it sounds like you understand how it basically works

That’s interesting, I didn’t know that even existed. Thanks!
So yeah, if someone else has another method, please post.

Yes this one: **[Util.TraceHull

http://wiki.garrysmod.com/favicon.ico](http://wiki.garrysmod.com/?title=Util.TraceHull)**