You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PenisBaseOffset=builder.CreateSlider("MotionSource:PenisBaseOffset","Penis base offset",0,-0.05f,0.05f,true,true);
35
+
PenisBaseOffset=builder.CreateSlider("MotionSource:PenisBaseOffset","Penis base offset",0,-0.05f,0.05f,true,true);
36
+
37
+
vargroup=newUIGroup(builder);
38
+
StaticPlaneNormalToggle=builder.CreateToggle("MotionSource:StaticPlaneNormal:Enabled","Custom plane normal",false, v =>
39
+
{
40
+
group.SetVisible(v);
41
+
SetStaticPlaneNormalFromCurrent();
42
+
UpdateStaticPlaneNormal();
43
+
});
44
+
45
+
StaticPlaneNormalSetFromCurrentButton=group.CreateButton("Set From Current",SetStaticPlaneNormalFromCurrent,newColor(0,0.75f,1f)*0.8f,Color.white);
46
+
StaticPlaneNormalPitchSlider=group.CreateSlider("MotionSource:StaticPlaneNormal:Pitch","Pitch (\u00b0)",0,0,360f, v =>UpdateStaticPlaneNormal(),true,true);
47
+
StaticPlaneNormalYawSlider=group.CreateSlider("MotionSource:StaticPlaneNormal:Yaw","Yaw (\u00b0)",0,0f,360f, v =>UpdateStaticPlaneNormal(),true,true);
48
+
StaticPlaneNormalRollSlider=group.CreateSlider("MotionSource:StaticPlaneNormal:Roll","Roll (\u00b0)",0,0,360f, v =>UpdateStaticPlaneNormal(),true,true);
49
+
group.SetVisible(false);
50
+
51
+
SetStaticPlaneNormalFromCurrentAction=UIManager.CreateAction("Set StaticPlaneNormal From Current",SetStaticPlaneNormalFromCurrent);
31
52
32
53
FindMales();
33
54
}
@@ -36,6 +57,14 @@ public void DestroyUI(IUIBuilder builder)
0 commit comments