formZ SDK | 5.0 API Reference | Project | Modeling | Animation
Description
Adds a new path track to an animation entity's tracks. The path options can be set up beforehand if the defaults are not adequate.
Plugin Prototype
fzrt_error_td fz_anim_node_add_path_trac(
fzrt_int | windex, |
anim_node, | |
objt, | |
path_opts, | |
trac_node ) |
Parameters
windex [Input]
project window index
anim_node [Input]
animated entity to animate along path
objt [Input]
Object to use for the path. Depending on the object, a different path type will be created, and different options apply. A smooth spline can use the align option, but facetted, and point object paths will ignore alignment.
path_opts [Input, Optional]
path options
trac_node [Result, Optional]
new path track node
Returns
Error codes
Availability
6.1.0.0
Example Files
util_anim_animate_enty.fsl
util_anim_test_path_opts.fsl
Function Set
Defined in