formZ SDK | 5.0 API Reference | Project | Modeling | Animation

# fz_anim_path_follower_enum

Description

Identifiers for how the entity follows the path. Each type of entity may have a different point of it that follows the path. For example, the FZ_ANIM_PATH_FOLLOWER_POS identifier indicates that an object's centroid follows the path, and that the whole object moves correspondingly. With this identifier, all entities can follow the path as one single unit. Furthermore, following the path as a single unit means the entity can be automatically oriented or aligned tangently to the path as it follows it, so if this is desired, this follower identifier should be used.
The other identifiers apply to entities that have two or more points that can be animated along different paths at the same time. The FZ_ANIM_PATH_FOLLOWER_EYE identifier indicates that the entity's eye or origin point (like views and lights) should be animated along a path. FZ_ANIM_PATH_FOLLOWER_COI is used for views and lights to identify that their Center of Interests should be animated along a path. FZ_ANIM_PATH_FOLLOWER_PART is used to identify a part of an object that should be used to animate along a path. Once an entity is animated along a path, the follower type cannot change for the newly created path track. However, as implied, some entities can have different points animated along different paths simultaneously (like a view's eye and coi). This would be set up through two different calls.

enum fz_anim_path_follower_enum {

FZ_ANIM_PATH_FOLLOWER_POS,

FZ_ANIM_PATH_FOLLOWER_EYE,

FZ_ANIM_PATH_FOLLOWER_COI,

FZ_ANIM_PATH_FOLLOWER_PART };

Members

FZ_ANIM_PATH_FOLLOWER_POS

Entity is animated along a path through its centroid with the option to be aligned along the path.

FZ_ANIM_PATH_FOLLOWER_EYE

Entity's eye or origin point is animated along a path.

FZ_ANIM_PATH_FOLLOWER_COI

Entity's coi (Center of Interest) point is animated along a path.

FZ_ANIM_PATH_FOLLOWER_PART

Entity's part is animated along a path.

Availability

6.1.0.0

See Also

fz_anim_path_opts_enum

Defined in

fz_anim_api.h