Military AI Works • AI Oleo Compression
Page 1 of 1

AI Oleo Compression

Posted: 15 Feb 2021, 14:09
by VulcanDriver
Hi Guys

Has anyone got an AI XML code for oleo compression so that key frame 200 is fully extended and 101 is fully compressed.

TIA

Re: AI Oleo Compression

Posted: 15 Feb 2021, 14:50
by hschuit
Why don't you simply reverse the compression travel animation of the oleo model part, like:

V 0 = fully compresssed
V100 = fully fully compresssed
V200 = fully extended

With the MCX Hierarchy Editor you can do that in a whistle.

Henk.

Re: AI Oleo Compression

Posted: 15 Feb 2021, 14:55
by John Young
What trigger would you be looking for that would enable all eventualities when compression occurs John? Can you not achieve what you want through the usual compression settings in the contact points?

Tell us a bit more about what you want to achieve.

John

Re: AI Oleo Compression

Posted: 15 Feb 2021, 14:56
by JohnTenn
I am making the assumption that this is for a helicopter.

You would have to link it to your Hover movement.

Keep the wheels on the ground until the fuselage has reached a specific height. Extend the oleo upward.
The keyframes would then have to match the hover movement.
Do not call it gear.

John

Re: AI Oleo Compression

Posted: 15 Feb 2021, 16:05
by VulcanDriver
Hi John

It's for a twin prop piston aircraft. I'll take a look at the compression points in the CFG

Cheers

Re: AI Oleo Compression

Posted: 15 Feb 2021, 16:10
by Firebird
I think that for the best solution I think that we need to know what you are trying to achieve. For example you don't mention frame 0 which is the default start point.

Animations can be made to work any way and the code has to be made to fit what you want.

Re: AI Oleo Compression

Posted: 15 Feb 2021, 17:03
by John Young
You need to know how to set up the Oleo's in your animation John, so you can use the movement measurements to calculate the .cfg parameters.

I have a tutorial if that might be useful.

John

Re: AI Oleo Compression

Posted: 15 Feb 2021, 20:53
by VulcanDriver
Hi John that would be most useful

Re: AI Oleo Compression

Posted: 15 Feb 2021, 21:53
by jgowing
Hi John,

I'd be interested in that tutorial, too. Also, planning ahead, wondering about how to achieve the "kneel" with an Andover with the ramp down..

Jon G

Re: AI Oleo Compression

Posted: 16 Feb 2021, 07:41
by John Young
PM sent to John and Jon with attached tutorial.

Jon, you can't use the contact points for the Andover "kneel" or you will have an anomaly with taxi, take-off and landing.

Just some quick thoughts. I think you need a separate "kneeling" model.

Animate the fuselage so KF:0 is normal and KF:100 rotates the fuselage to create the "kneel".

Adjust the ramp animation for the new angle.

Do not change anything in the gear legs.

Make sure all parts, except the gear, are linked to the fuselage (bit like an AI helicopter with an animated lift).

You then need an xml trigger to enable the "kneel". Use the same code as opening and closing a canopy or door.

John

Re: AI Oleo Compression

Posted: 16 Feb 2021, 08:11
by jgowing
Thanks very much for the advice, John It's always good to try out something new, although the Andover is somewhat ahead on the to-do list.

Jon G

Re: AI Oleo Compression

Posted: 16 Feb 2021, 10:29
by VulcanDriver
Thanks JY, I've got the PDF. Easy when you know how :)

Re: AI Oleo Compression

Posted: 16 Feb 2021, 12:04
by John Young
Not too difficult, but beware of the damping ratio. That can cause the aircraft to wobble and bounce when the user frame rate is too low. Set your slider to 10 fps and test if aircraft is stable on departure.

John

Re: AI Oleo Compression

Posted: 16 Feb 2021, 15:09
by VulcanDriver
John Young wrote: 16 Feb 2021, 12:04 Not too difficult, but beware of the damping ratio. That can cause the aircraft to wobble and bounce when the user frame rate is too low. Set your slider to 10 fps and test if aircraft is stable on departure.

John
Thanks John

Good tip.

Hopefully the new model will be text flown by the end of the week. :D

Cheers