func_pushable Last edited 7 months ago2024-05-10 16:56:42 UTC

func_pushable - Brush Entity

The only type of brush entity that can be pushed, pulled, lifted (not by the player) and fall, most commonly used with crates. It can also optionally be breakable.

Attributes

Flags

Notes

Hulls sizes

Here's a table of the values of the hull sizes, all values are vectors (X, Y, Z):
Hull size Minimum extents Maximum extents Size
Point (0) -8, -8, -8 8, 8, 8 16, 16, 16
Player (1) -16, -16, -36 16, 16, 36 32, 32, 72
Big hull (2) -32, -32, -36 32, 32, 36 64, 64, 72
Player duck (3) -16, -16, -18 16, 16, 18 32, 32, 36

3 Comments

Commented 14 years ago2010-02-28 12:16:47 UTC Comment #101135
Well, what's the point of Hull Size? I find it doesn't affect the bounding box of the object.
Commented 10 years ago2014-11-23 14:54:48 UTC Comment #101136
@^: The Hull Size setting determines the pev->size value, which I'm not sure what it's used for.
Commented 9 months ago2024-03-12 10:22:08 UTC Comment #106062
Just to answer that age-old question that has been left unanswered for so long here:

The Hull Size (size) determines which of the three cliphulls to test its own collisions against.
This is why a big pushable using HULL1 or HULL3 might be clipping into world geometry when pushed around.
("Am I colliding with the world?" from the pushable's perspective).

This isn't the same sort of collisions as when a player is touching/climbing the pushable, in which case it's the player testing collisions against the pushable's own cliphulls, which are similar to its shape regardless of size.
("Am I colliding with the pushable?" from the player's perspective).

You must log in to post a comment. You can login or register a new account.