Referring to Max objects properties

 
 
 
Posted by:zemmuonne
Data created:14 October 2012

Hi,

was fiddling around with the controllers' floatfunction. 

As a first exercise I'd like to do a position spring controller and a rotation one.

How do I expose to the graph the objects' positions, rotation angle etc? 

 

On a side note, is there a chance to have a more practical forum? Like phpbb?

cheers

S

 

Hello,

I suppose you have already discovered how to take an object as an input? If not, you need to create an input with type "Ephere.Geometry.PolygonMesh" and it will add a "pick node" button in the UI. If you add an input taking "Xform3" following that it should provide the obect's transform. You can then drag it out in the view to get a TypeValue node which exposes its vector3 position and Matrix3 rotation.

I am currently working on exposing these parameters easier and it should be in the next build. I will also try to make a video to cover this.

Can you please let me know what functionality you are missing from the forum? I would really like to keep things local because they are tied into our central database system.

Marsel Khadiyev (Software Developer, EPHERE Inc.)

Hi Marsel,

didn't realize I could use the Ephere.Geometry.PolygonMesh to pick a node, I thought it was to create a new node.

About the forum: is just that it didn't feel clear and immediate - but maybe it's me.

Uhm, trying but no "pick node" button - I'm missing something. My starting point is the controller tutorial, if it can help.

Mm.. can;t seem to create a picknode UI elemet either?

 

I got it to work in a very backwards way but referring to other scene nodes is an important feature for a controller, so this should definitely be cleaned up.

Martin

Martin

 

Martin,

Please have a look at the video I made today: http://www.youtube.com/watch?v=gHt6M7N8iCA

I have changed the UI a bit since the 0.1 build you are using to make adding mesh inputs easier.

Marsel Khadiyev (Software Developer, EPHERE Inc.)

How can this happen in the controller tree as well? Are you able to refer to a node in the tree?

To be honest, I haven't actually tried this in a controller yet, but I don't see why it would not work.

Marsel Khadiyev (Software Developer, EPHERE Inc.)