Changing Spine Bone Parent

mbeytekin

Member
I tried with skeleton_bone_state_set and skeleton_bone_data_set for changing a bone's parent to "root". But it doesn't work.

in documentation;
var bone_map = ds_map_create();
skeleton_bone_data_get("head", bone_map);
ds_map_replace(bone_map, "parent", "body");
skeleton_bone_data_set("head", bone_map);
ds_map_destroy(bone_map);


example doesn't work too.

Is there any chance to do this in Game Maker 2?
 
Top