EntityBox

Blitz3D Forums/Blitz3D Beginners Area/EntityBox

Ross C(Posted 2004) [#1]
How exactly does this command work. I've tried with all my might (not much). Don't understand it, well i do, but when i set parameters, they never seems right...


Brendane(Posted 2004) [#2]
I have been flummocksed by that command too. (that's why I never posted a fix for matt's box pushing, did get it to work tho, just not accurately).


Brendane(Posted 2004) [#3]
Ok, the command does work as expected - it was just that I was forgetting to also scale up the coll radius of the boxes as well as their bounding box.

Example.

cube = createcube() ;create a cube (radius of 1)
scaleentity cube,6,6,6
entityradius cube,6
entitybox cube,-6,-6,-6,12,12,12


Ross C(Posted 2004) [#4]
Oh right, that's probably my problem. Thanks man :)


Brendane(Posted 2004) [#5]
No worries, had me scratching my head for a while!