Creating Animation Tracks For Components

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 03/04/2003 at 13:36, xxxxxxxx wrote:

User Information:
Cinema 4D Version:   8.100 
Platform:      Mac OSX  ; 
Language(s) :     C++  ;

---------
I want to create an animation track for the x component of the position parameter of an object. How do I do this? I can create a track for any data and real values, just not a component.

Thanks!

bt

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 03/04/2003 at 18:11, xxxxxxxx wrote:

Just to share...

Solution I found:

new_Track = AllocValueTrack( the_Object, DescID( DescLevel( PLUGIN_PARAMETER, DTYPE_VECTOR, 0 ), DescLevel( 1000 + component, DTYPE_REAL, 0 ) ) );

bt