Malkalypse
02-07-2008, 04:49 AM
I am working on a script that shows the results of using getProperty on various object properties
(i.e. getProperty $ "pos.x", or getProperty $ "wireColor" etc.)
There are some oddities with the way some of these things have to be structured. For example, (getProperty $ "rotation.x_rotation") works and (getProperty $.rotation "x_rotation") does not, while conversely (getProperty $ "rotation.x") does NOT work while conversely $.rotation "x") DOES.
I need to know if there is any direct way to use getProperty to get Matrix values. I know I can use the format of (getProperty $.transform.row1 "x"), but due to the way my code is structured for other properties, it would be immensely helpful if there were some way I could use getProperties on the base object (in this case $) to get the Matrix values.
In other words, the way (getProperty $ "rotation.x_rotation") works, I would like to be able to do something along the lines of (getProperty $ "transform.row1.x").
I feel like I am making this sound much more complicated than it needs to be, because it's a really simple problem. I just want to make sure that I am explaining it clearly...
(i.e. getProperty $ "pos.x", or getProperty $ "wireColor" etc.)
There are some oddities with the way some of these things have to be structured. For example, (getProperty $ "rotation.x_rotation") works and (getProperty $.rotation "x_rotation") does not, while conversely (getProperty $ "rotation.x") does NOT work while conversely $.rotation "x") DOES.
I need to know if there is any direct way to use getProperty to get Matrix values. I know I can use the format of (getProperty $.transform.row1 "x"), but due to the way my code is structured for other properties, it would be immensely helpful if there were some way I could use getProperties on the base object (in this case $) to get the Matrix values.
In other words, the way (getProperty $ "rotation.x_rotation") works, I would like to be able to do something along the lines of (getProperty $ "transform.row1.x").
I feel like I am making this sound much more complicated than it needs to be, because it's a really simple problem. I just want to make sure that I am explaining it clearly...
