+Veltro2k Posted May 3, 2021 Posted May 3, 2021 (edited) how do I calculate this, having some problems with the tail turret PitchAngleRate=60 MaxPitch=90 MinPitch=-90 DefaultPitchAngle=0 YawLimited=TRUE YawAngleRate=60 MaxYaw= 300 MinYaw= 60 DefaultYawAngle=180 Edited May 3, 2021 by Veltro2k Quote
Nuni Posted May 3, 2021 Posted May 3, 2021 The problem is that you want to adjust the Yaw angles of the turret to fit between those points? If so I would measure the limits by moving around the turret in 3ds studio max with the rotation tool, or just try different values of limits that are at the same angular distance to 180 degrees since it looks like a tail turret. Does this answer your question? Quote
+Veltro2k Posted May 3, 2021 Author Posted May 3, 2021 I did, but for some reason the guns stay to the right, and don't engage Quote
Nuni Posted May 3, 2021 Posted May 3, 2021 Maybe the problem is in the rest of the Gunners INI data, I can take a look if you want. Quote
Nyghtfall Posted May 3, 2021 Posted May 3, 2021 You have: MaxYaw=210 MinYaw=-150 --> shouldn't this be at 150 (not negative) 180 is straight, 150 is min (-30) and 210 max (+30) Quote
Nuni Posted May 3, 2021 Posted May 3, 2021 I would try writing the angles like this: MaxYaw = 210 MinYaw = 150 Min and Max Yaw defines the beginning and the end of the angle interval respectively, the turret will only move between these two angles, I have been watching some INIs and they could either go positive or negative but it must have the same sign. (In case of negative values that would be: MinYaw = -210; MaxYaw = -150; DefaultYawAngle = -180) As for the orientation of the turret, I don't find anything to explain it unfortunately, I would be curious to see the local axis of the mesh in its default 0 angle possition, maybe it is because of a missalignment between the turret and it own set of axis. Quote
+Veltro2k Posted May 3, 2021 Author Posted May 3, 2021 YawLimited=TRUE YawAngleRate=75 MaxYaw=210 MinYaw=150 DefaultYawAngle=180 with this guns face wrong way Quote
Nuni Posted May 3, 2021 Posted May 3, 2021 (edited) Be sure to have the pivoting axis well aligned with the turret, and in the position of 0 to all angles, (looking forward) even if it is also a tailgun, because it is going to be the reference position for the angles of the INI. Like this: I oriented the turret the same way for the front and rear ones, then the angles of operations are introduced by the INIs values. Just select your yaw moving part, orient it looking at the front of the aircraft an then select "Align to World". I remember to do that when I worked with turrets. This is the only reason why your problem happen that I can imagine hahaha Edited May 3, 2021 by nuni 1 1 Quote
+Veltro2k Posted May 3, 2021 Author Posted May 3, 2021 problem solve.... 1 Was setting pivot when turrets where facing backwards 2. some meshes names different then the ones on the data file thanks all for the tips and suggestions 4 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.