I have a 3d object and I'd like to use a property out of the tree which
gets me the distance between the point of view and the object itself, in
order to apply an animation to that. Is there something like that
available?

No, but there is an animation called dist-scale that uses that distance
to control the size of an object. So far I am unaware of any way to
specify an object and expose that value for it. It would be handy to be
able to get that info from a nasal call.

Josh

Thanks you for the hint.
It's not documented but used in a few models. I've seen examples making use of interpolation tables but maybe that's not mandatory.

Anyway I made use of those few lines and the result is not what I expected.
I have a few poly squares I want to scale, they're meant as emitting lights on a boat. Those polys are not placed at the center of the entire model, so scaling makes them move apart.

Melchior suggested me to move them to the center. Well I can't, they have to scale separately around different centerpoints.

I am not familiar with Blender (which I use for .ac exporting and some minor tasks) but I am familiar with other 3d modellers which let me set unique pivot points (for transformations) to every poly in the object. Is there's something with Blender too? Any suggestion?

   Roberto





-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to