• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!

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