formZ SDK | 5.0 API Reference | Project | Modeling | Animation
Description
Converts a point with coordinates defined by coordinates in world space to
coordinates in an animated entity's coordinate . Note that parent entity nodes
define the coordinate for their children entity nodes. So, pass in the parent
node for anim_node.
Points retrieved from entities through API functions are usually defined in
world space. To figure out what that coordinate translates into in the entity's parent
space coordinates, use this function.
Plugin Prototype
fzrt_error_td fz_anim_enty_world_2_parent(
fzrt_int | windex, |
anim_node, | |
world_xyz, | |
parent_xyz ) |
Parameters
windex [Input]
project window index
anim_node [Input]
animated entity defining a coordinate
world_xyz [Input]
input point in world space coordinates
parent_xyz [Result]
output point in parent space coordinates
Returns
Error codes
Availability
6.1.0.0
Example Files
See Also
Function Set
Defined in