Facets documentation.

Please help the newbie script developer here!

Have I missed some obvios location? Is there any documentation about Facets other that Geometry_Info sample script?

I can derive a lot of stuff playing with Debugger in SriptIDE, but is there an easier way?

(I am trying to work out Center of Mass here.)

Thanks!

 

Comments

  • EsemwyEsemwy Posts: 577

    The short answer is no. The longer answer is to use the debugger in conjunction with exploring other people's scripts. I was able to figure out some of what you're looking for from mcjTemplate along with dumping a lot of object attributes. I believe what you want is DzObject::getCachedGeom(). Here is a script I've been working on that may have some of the answers you seek. It's eventual purpose is to compute the relative scale of UV mapped surfaces. For your purpose, retrieving the geometry and the individual vertices should get you on your way.

    hope this helps. 

Sign In or Register to comment.