Blockland Forums > Modification Help
Forcing boundingbox dimensions of a playertype?
King Tøny:
Probably the best way is to use the same bounding box for sitting.
Also someone edited the dimensions of the sit bounding box but I can't find that mod
ArmyUnit:
--- Quote from: King Tøny on November 23, 2017, 02:50:04 PM ---Probably the best way is to use the same bounding box for sitting.
Also someone edited the dimensions of the sit bounding box but I can't find that mod
--- End quote ---
iirc the game doesn't change the bounding box when you sit, it just plays an animation.
--- Quote from: King Tøny on November 23, 2017, 02:46:49 PM ---
--- Code: --- crouchBoundingBox = PlayerStandardArmor.boundingBox;
--- End code ---
--- End quote ---
While that works, that's not quite what I need. I basically need a third bounding box definition.
Something like "proneBoundingBox", and it would use a different set of values than the crouchBoundingBox or the normal boundingBox.
And on top of all that, I need to be able to set it on the fly while the game is running. Playertype changing is probably the best way tbh.
Conan:
--- Quote from: ArmyUnit on November 23, 2017, 02:57:06 PM ---iirc the game doesn't change the bounding box when you sit, it just plays an animation.
--- End quote ---
can confirm, it doesnt.