SetSkeleton2DBonePosition
Description
Set the original position of a bone relative to its parent also know as the setup pose. All animation will be relative to this position, this can be changed whilst an animation is playing.
Definition
SetSkeleton2DBonePosition( iSkeleton, bone, x, y )
void agk::SetSkeleton2DBonePosition( uint32_t iSkeleton, int bone, float x, float y )
Parameters
- iSkeleton - ID of the skeleton to modify
- bone - The ID of the bone to modify
- x - The new X position to use
- y - The new Y position to use