_Sebastian_ said:Heyho...
Even if this tool isn't longer in development, I want to report a bug of the current version.
"agent_get_bone_position" does not work properly.
It just initializes the specific position at x=0 y=0 z=0, doesn't matter which agent, position or bone I use.
Hopefully it gets fixed somehow.
Cheers!
Operation works fine. You must be doing something wrong. Remember that this operation gives you local position of the bone, which should be then converted to global position using agent's position. Like this:
Code:
(agent_get_position,pos2,":agent"),
(agent_get_bone_position,pos1,":agent",hb_head),
(position_transform_position_to_parent,pos1,pos2,pos1),