func_pushable Last edited 4 years ago2020-01-22 07:38:52 UTC

You are viewing an older revision of this wiki page. The current revision may be more detailed and up-to-date. Click here to see the current revision of this page.

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 sizeMinimum boundariesMaximum boundariesSize
Point (0)-8, -8, -88, 8, 816, 16, 16
Player (1)-16, -16, -3616, 16, 3632, 32, 72
Big hull (2)-32, -32, -3632, 32, 3664, 64, 72
Player duck (3)-16, -16, -1816, 16, 1832, 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 9 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 8 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.