File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -250,14 +250,14 @@ dmodels_move_to_frame:
250250 - define rel_offset <location[<[this_part.origin] > ] .sub[<[parent_raw_offset] > ] >
251251 - define rot_offset <[rel_offset] .proc[dmodels_rot_proc] .context[<[parent_rot] > ] >
252252 - define new_pos <[framedata.position] .as_location.proc[dmodels_rot_proc] .context[<[parent_rot] > ] .add[<[rot_offset] > ] .add[<[parent_pos] > ] >
253- - define new_rot <[framedata.rotation] .as_location.add[<[parent_rot] > ] >
253+ - define new_rot <[framedata.rotation] .as_location.add[<[parent_rot] > ] .add [ < [pose] > ] >
254254 - define parentage.<[part_id] > .position <[new_pos] >
255255 - define parentage.<[part_id] > .rotation <[new_rot] >
256256 - define parentage.<[part_id] > .offset <[rot_offset] .add[<[parent_offset] > ] >
257257 - foreach <[root_entity] .flag[dmodel_anim_part.<[part_id] > ] ||<list> > as:ent:
258258 - teleport <[ent] > <[center] .add[<[new_pos] .div[16] .rotate_around_y[<[yaw_mod] .mul[-1] > ] > ] >
259259 - adjust <[ent] > reset_client_location
260- - define radian_rot <[new_rot] .add [ < [pose] > ] . xyz.split[,] >
260+ - define radian_rot <[new_rot] .xyz.split[,] >
261261 - define pose <[radian_rot] .get[1] > ,<[radian_rot] .get[2] > ,<[radian_rot] .get[3] >
262262 - adjust <[ent] > armor_pose:[head=<[pose] > ]
263263
You can’t perform that action at this time.
0 commit comments