Blockland Forums > Modification Help
Forcing boundingbox dimensions of a playertype?
ArmyUnit:
I'm wondering if there is any way to set the bounding box of a player or bot to dimensions that are different than its standing and crouching dimensions.
Basically what I'm needing is a prone-like mode that has its own bounding box dimensions. I can't use the crouch bounding box because reasons I don't want to get into (mostly-secret project).
This isn't critical to the functionality of what I'm working on, but it would be pretty cool to have and it would be pretty useful for some things.
Any thoughts?
Rally:
Probably impractical idea: what if you made a second playertype, which is the same in every way except the bounding box, that you switch to when the player goes prone?
Conan:
not impractical and the only realistic way to go about doing this
ArmyUnit:
--- Quote from: Rally on November 23, 2017, 12:49:02 PM ---Probably impractical idea: what if you made a second playertype, which is the same in every way except the bounding box, that you switch to when the player goes prone?
--- End quote ---
Yeah tbh that's probably the only way.
Should work well enough though
Thanks all for the replies
King Tøny:
--- Code: --- crouchBoundingBox = PlayerStandardArmor.boundingBox;
--- End code ---