Would you like to react to this message? Create an account in a few clicks or log in to continue.

rad in SIO2object

2 posters

Go down

rad in SIO2object Empty rad in SIO2object

Post  hazeleye 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)


Posts : 34
Join date : 2008-09-24

Back to top Go down

rad in SIO2object Empty Re: rad in SIO2object

Post  sio2interactive 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.

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

Back to top Go down

Back to top

- Similar topics

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