Jump to content

Recommended Posts

Posted (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

 

 

yaw.jpg

Edited by Veltro2k
Posted

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?

Posted

Maybe the problem is in the rest of the Gunners INI data, I can take a look if you want.

Posted

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.

Posted (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:

60901ff9b1a08_Exampleturret.thumb.jpg.ac2d2236c987541719eaff94850f2778.jpg

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 by nuni
  • Like 1
  • Thanks 1
Posted

problem solve.... 1 Was setting pivot when turrets where facing backwards

                               2. some meshes names different then the ones on the data file

 

:stars:    thanks all for the tips and suggestions

  • Like 4

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use, Privacy Policy, and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..