I’m currently working on a project to try and shrink props to half their size while retaining normal physics interactions.
My current procedure is to use physobj:getMesh to return a table of the props vertices, then converting them to local coordinates using the props massCenter as a reference, then multiplying the vectors by a scalar (0.5) and from there I’m kind of stumped.
I don’t know what the commands to actually rebuild the physboxes while retaining client-side prediction are. There’s very little documentation on the wiki on what a lot of the newer commands actually do so I’m looking for a little bit of assistance from other developers.
Ideally the new modified prop would be identical to an unmodified one, save for being half the size.
Any help is much appreciated. I’ve been searching these forums relentlessly.
I’ll post my code thus far when I get to a computer.