1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Aircraft position in slew-mode

Discussion in 'Other' started by Horst18519, 1/4/07.

  1. Horst18519

    Horst18519 Moderator Staff Member Resource contributor

    Joined:
    7/4/05
    Messages:
    2,178
    Country:
    germany
    Just want to say first: The SDK ist really well done this time! :)
    I learn a lot every day going through the pages.

    But one thing I cannot solve: How can I influence how my aircraft is placed when I'm in slew mode?
    The problem is: If slewing the aircraft sinks some feet into the ground and has a pitch of maybe 30°.
    The result: If I stop slewing (on ground) the aircraft crashes. :(

    How can I adjust this so that my aircraft is exactly in the same position in slew mode as well as in flying mode? The default aircraft can do this, why not mine? :confused:
  2. Horst18519

    Horst18519 Moderator Staff Member Resource contributor

    Joined:
    7/4/05
    Messages:
    2,178
    Country:
    germany
    Nobody a clue?

    The more I work on this the more confused I get. Now it seems that the gear of the aircraft (amphibian) can't stand the weight (which is ridiculously small), cause after touchdown (with the tires as expected) the plane sinks more and more into the ground until the floats touch the ground.
    Damping is ok on the tire-contact points. Everything seems correct, but it's just confusing. :(

    Edit: MAy it be that FSX calculates the damper range using information from the MDL?
    How can I adjust the damper range for the gear?
  3. Horst18519

    Horst18519 Moderator Staff Member Resource contributor

    Joined:
    7/4/05
    Messages:
    2,178
    Country:
    germany
    Still no answer? Well, if noone knows the anser I have to live with it. But I'd just like to know how all the aircraft designers out there solve this problem. :(
  4. BASys

    BASys

    Joined:
    25/5/06
    Messages:
    1,240
    Country:
    scotland
    Hi Folks

    Thorsten -
    Try asking over at FFDS

    HTH
    ATB
    Paul
  5. Horst18519

    Horst18519 Moderator Staff Member Resource contributor

    Joined:
    7/4/05
    Messages:
    2,178
    Country:
    germany
    Once more being stuck with this matter.

    Can't anybody offer some help? :(

    Let me say it this way: Where do I place 0/0/0 in Max? At the CG of my aircraft or at the view point (pilot's head for example)?
    I want the spot view to look directly at the pilot not at the center of the aircraft. So I moved the whole aircraft so that the pilot's head is at 0/0/0.

    But then, where is the distance from 0/0/0 to the surface set (for slew mode)? :confused: :(
  6. BASys

    BASys

    Joined:
    25/5/06
    Messages:
    1,240
    Country:
    scotland
    Hi Folks

    Thorsten -
    AFAIK
    You're approaching this the wrong way. ;)

    The model origin should be placed at the aircraft's CoG.

    The aircraft.cfg [Views] section, eyepoint=
    controls the pilot internal view.

    By default the spot view looks at the model origin,
    but may possibly be tweaked
    by adding a camera definition for 'Spot'
    into your aircraft.cfg
    which uses Origin= Pilot
    rather than Origin = Center

    [CameraDefinition.NUMBER]
    Title = Spot
    Guid = {YOUR_GUID}
    Description = This is the description of the spot view.
    Origin = Pilot
    etc.

    See the camera SDK for details.

    For slew mode,
    AFAIK it's the contact points info which controls the angle & height.
    static_pitch=
    static_cg_height=

    HTH
    ATB
    Paul
    Last edited: 4/7/07
  7. Horst18519

    Horst18519 Moderator Staff Member Resource contributor

    Joined:
    7/4/05
    Messages:
    2,178
    Country:
    germany
    Correct, it's the static-entries. Should have found that sooner... :eek:

    Do you really think I should use cog as 0/0/0? I seem to have found a good setup now with view point default set to pilot's head.
  8. Horst18519

    Horst18519 Moderator Staff Member Resource contributor

    Joined:
    7/4/05
    Messages:
    2,178
    Country:
    germany
    Paul, you're absolutely right. It makes no sense to move the pilot's head to 0/0/0. It seems to work now.

    Only have another weird thing: when in water the aircraft hops out of it from time to time as there would e something bumping against the floats from under it.

    EDIT: setting the damp ratio to 0.891 seems to fix it. Weird. Other values (for example 0.9!) won't work...


    By the way: Do I have to use the default camera GUIDs or create new ones?
    Last edited: 4/7/07
  9. BASys

    BASys

    Joined:
    25/5/06
    Messages:
    1,240
    Country:
    scotland
    Hi Folks

    Thorsten -
    Cameras SDK says the GUID should be unique.
    I assume to avoid clashes with viewing AI traffic.

    HTH
    ATB
    Paul
  10. Horst18519

    Horst18519 Moderator Staff Member Resource contributor

    Joined:
    7/4/05
    Messages:
    2,178
    Country:
    germany
    That is what I remembered too. I thought the view would be added as a secondary spot view though. But it doesn't seem to work with the dafault GUID...

    By the way: Is there a list of additional animation tags? I found the one in the SDK but I cannot find the entry for dampers.
  11. Horst18519

    Horst18519 Moderator Staff Member Resource contributor

    Joined:
    7/4/05
    Messages:
    2,178
    Country:
    germany
    That was of course stupid - I still have the bumps.

    As this seems to be more of a monologue I'll have to figure it out by myself... :(
  12. Timmo

    Timmo

    Joined:
    10/1/07
    Messages:
    547
    Country:
    newzealand
    Isnt the "Static_Pitch" setting in the aircraft config responsible for setting the aircraft pitch when slewing??

    "static_pitch = The static pitch of the aircraft when at rest on the ground (degrees). The program uses this value to position the aircraft at startup, in slew, and at any other time when the simulation is not actively running"

    This is contained in the [contact points] section of the config
  13. Horst18519

    Horst18519 Moderator Staff Member Resource contributor

    Joined:
    7/4/05
    Messages:
    2,178
    Country:
    germany
    Yes it is. :)

Share This Page