rad in SIO2object

View previous topic View next topic Go down

rad in SIO2object

Post  hazeleye on Wed Oct 22, 2008 1:39 am

What is parameter rad (float) in SIO2Object struct ? I think that it's radius , which stand in logic panel in Blender (bound's radius), but if I set 1.0 radius in Blender , in sio2 I have 1.7 value (in other sample 0.5)

hazeleye

Posts : 34
Join date : 2008-09-24

View user profile

Back to top Go down

Re: rad in SIO2object

Post  sio2interactive on Wed Oct 22, 2008 2:03 am

It stand for the radius of the bounding sphere of the object that is calculated dynamically at export time, it is not the radius used in the logic panel. It is used for clipping as well as for certain physic bound shapes. If you dynamically scale your object you should recalculate this value in order for the default clipping algorithm to work properly.
avatar
sio2interactive

Posts : 1526
Join date : 2008-08-26
Age : 38
Location : Shanghai

View user profile http://sio2interactive.com

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum