13 if (!IsValidEntityType(editableEntity.GetEntityType()))
17 if (editableEntity.GetChildrenCount() > 0)
21 editableEntity.GetTransform(mat);
22 vector angles = Math3D.MatrixToAngles(mat);
27 override void WriteVariable(Managed item,
SCR_BaseEditorAttributeVar var, SCR_AttributesManagerEditorComponent manager,
int playerID)
37 editableEntity.GetTransform(mat);
38 vector angles = Math3D.MatrixToAngles(mat);
39 angles[0] = var.GetFloat() - 180;
40 Math3D.AnglesToMatrix(angles, mat);
41 editableEntity.SetTransform(mat,
true);
46 override int GetEntries(notnull array<ref SCR_BaseEditorAttributeEntry> outEntries)
49 return super.GetEntries(outEntries);