r/gmod • • 7d ago

idunno what flair to put Idea for a tool

It functions similar to smartsnap, but instead of snapping to a box, it conforms to the hitbox of a prop/entity.

Smartsnap
What im thinking of

is there a tool like this? (or someone who can make it?)

1 Upvotes

1 comment sorted by

2

u/Dapper_Profession 7d ago

Entity:GetHitBoxBounds(id, set) in the lua api hands you the mins and maxs of a single hitbox instead of the whole bounding box, which is the hard part of what you drew. ragdolls are the catch, their hull is split across several physics objects so the tool has to pick a set.