like if i made a boundign box for something 64 wide by 32 tall for like a shockwave going north or south and i then fired it off west or east would the bounding box rotate aswell or would i have to add some kind of code to make it rotate so it's 64 height and 32 width ?
ID:2057262
Mar 22 2016, 8:39 am
|
|
Mar 22 2016, 10:02 am
|
|
You do that yourself based on projectile angle/direction
|
I think OP is asking about just switching the dimensions of an AABB, not actually doing OBBs.
OBBs are really, really non-viable in BYOND. I've got a library that does them, but there are way too many corner cases and like you said, it's really not viable for anything that isn't single player. swapping around AABBs' axes, though is doable. |