Announcement

Collapse
No announcement yet.

Best way to detect ceiling when uncrouching

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Best way to detect ceiling when uncrouching

    I had to implement custom crouch for some reasons and now the pawn can uncrouch even when he's not supposed to, (either because there is bsp or a static mesh right above him). I wondered what was the best way to detect such case. Would a trace be honest?

    #2
    Trace is probably your best bet. Not much of any other way to find out if something is in your way.

    Comment

    Working...
    X