|
Post by Jeff on Sept 28, 2013 16:37:36 GMT
If you ever want to know the in game marble radius of your marble .dts shape, when the marble is selected, go into the console and type the following:
echo((getWord(localclientconnection.player.getworldbox(),3)-getWord(localclientconnection.player.getWorldBox(), 0))/2);
default MBG is 0.189697 meters (torque units)
|
|
FruBlox
Advanced Marbler
[ss:Default Skin (DO NOT TOUCH)]
It's marbling time!
Posts: 338
|
Post by FruBlox on Sept 28, 2013 19:38:45 GMT
Shouldn't this go into the MBDK?
|
|
|
Post by Jeff on Sept 28, 2013 19:40:49 GMT
nope, its not practical or really useful besides checking a dts shape to match the radius of mbg.
|
|
FruBlox
Advanced Marbler
[ss:Default Skin (DO NOT TOUCH)]
It's marbling time!
Posts: 338
|
Post by FruBlox on Sept 28, 2013 19:43:59 GMT
It's useful enough to implement a tricky feature that may require this kind of measurement.
I just think it's more organised if all the code tips go into that one thread, instead of getting lost in the general board.
|
|
|
Post by IsraeliRD on Sept 28, 2013 23:06:32 GMT
Would agree here as this doesn't relate to Gen MB discussion as much when it's code-related. Moved.
|
|