wheel rotate

This commit is contained in:
Sotirios Pupakis
2024-04-25 23:17:41 +02:00
parent 4cec6e0d6a
commit 943eef46ef
2 changed files with 22 additions and 0 deletions

View File

@@ -65,6 +65,28 @@ class CfgModels {
angle1 = "rad -360";
};
class leftwheel_rot {
type = "rotation";
source = "howitzer_rotation_source";
selection = "leftwheel";
axis = "axis_wheels";
minValue = -1440;
maxValue = 1440;
angle0 = "rad -2880";
angle1 = "rad +2880";
};
class rightwheel_rot {
type = "rotation";
source = "howitzer_rotation_source";
selection = "rightwheel";
axis = "axis_wheels";
minValue = -1440;
maxValue = 1440;
angle0 = "rad +2880";
angle1 = "rad -2880";
};
class howitzer_rotation {
type = "rotationY";
source = "howitzer_rotation_source";