View Full Version : Aircraft position in slew-mode
Horst18519
01 Apr 2007, 18:42
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:
Horst18519
02 Apr 2007, 09:02
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?
Horst18519
04 Apr 2007, 12:51
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. :(
Hi Folks
Thorsten -
Try asking over at FFDS (http://www.aerodynamika.com/cgi-bin/yabb/YaBB.cgi?board=fde;action=messageindex;start=)
HTH
ATB
Paul
Horst18519
04 Jul 2007, 08:32
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: :(
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
Horst18519
04 Jul 2007, 09:24
Correct, it's the static-entries. Should have found that sooner... :o
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.
Horst18519
04 Jul 2007, 10:13
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?
Hi Folks
By the way: Do I have to use the default camera GUIDs or create new ones?
Thorsten -
Cameras SDK says the GUID should be unique.
I assume to avoid clashes with viewing AI traffic.
HTH
ATB
Paul
Horst18519
04 Jul 2007, 10:35
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.
Horst18519
07 Jul 2007, 07:09
...setting the damp ratio to 0.891 seems to fix it. Weird. Other values (for example 0.9!) won't work...
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... :(
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
Horst18519
09 Aug 2007, 11:37
Yes it is. :)
vBulletin® v3.8.3, Copyright ©2000-2013, Jelsoft Enterprises Ltd.