Jump to content

Recommended Posts

I've been working on a custom airplane but I've been having problems with the gear.

So far I have:

 

-Geo + PhysX LOD both have the three wheels defined as "wheel_1", "wheel_2" and "wheel_3" and each as "Component XX"

-All components in both LODs are closed and convex.

-These names (wheel_1, wheel_2 and wheel_3) are the named selections on the visual LODs, and properly named in the model.cfg

-Config file has driveOnComponent[] = {"wheel_1","wheel_2","wheel_3"};

-LandContact LOD has three points, one beneath each wheel

 

If I start the plane in mid air in the mission Editor, the gear system works fine. Wheels retract perfectly. But once the plane hits the ground, they stop working (meaning If I land and take off again, gear won't retract anymore).

 

https://www.youtube.com/watch?v=18zKmc8nR68

 

When I start the plane on the ground (virtual arsenal or mission Editor) the plane seems to be rolling on square wheels.. (?) and bobs from one side to another, moves o the sides....

 

https://www.youtube.com/watch?v=AxBBacUhs1o

 

If I manage to take off (it is very difficult because the plane barely gains speed and is moving all over the place) the gear doesn't retract (the option to do so doesn't show up, nor toggling "G")

Sometimes the plane bumps so much that it explodes.

 

https://www.youtube.com/watch?v=HyEmD_DJWSU

 

 

I have lost too much hair already and am very nearly on the verge of ending with martinezfg11 's patience, who has kindly been trying to help me out.

So any hints you can spare, will be greatly appreciated!

Share this post


Link to post
Share on other sites

What happens when you use the older 'simulation = "airplane"' in your config, is the problem still there?

Share this post


Link to post
Share on other sites

Good morning,

Thanks for your response.

 

Changeing from airplaneX to airplane doesn't seem to change much, only that the airplane starts with the tail in the air. It falls back to the ground when I switch the engine on.

This is a video from the Virtual Arsenal:

 

https://www.youtube.com/watch?v=Gh4MVSAxlyA

 

This when I start a mission on the Ground:

 

https://www.youtube.com/watch?v=w1VHTCK4yw8

 

And this when I start a mission mid-air

 

https://www.youtube.com/watch?v=uzFQJ9FEIEQ

 

And these are some photos of my geometry LOD:

30932mb.jpg

 

Geometry PhysX LOD:

 

20gzbqo.jpg

 

And resolution LOD:

 

2w32qfa.jpg

 

I can post my model.cfg and config files if that would help.

 

Thank you for your time!

Share this post


Link to post
Share on other sites

Can you remove the damage with 'this allowDamage false' in the init box and see if it works then? Do the wheels have any weight associated in the geo lod, like 100kg or so?

  • Like 1

Share this post


Link to post
Share on other sites

Can you remove the damage with 'this allowDamage false' in the init box and see if it works then? Do the wheels have any weight associated in the geo lod, like 100kg or so?

 

Good evening!

Thanks for your response. I have removed damage and I still don't get the option to retract the gear after managing takeoff. Only when I start the mission already flying.

Also it is near impossible to take off, the plane just jumps to the sides, very unstable.

 

In the geo lod each wheel weighs 26,66kg.

The total of the plane is 2.700 kg

Share this post


Link to post
Share on other sites

I'd copy the complete wheel from the res lod to the geo lod and check if it's closed and convex. Sabre did create a tutorial that mentions the wheel shape as possible culprit: https://forums.bistudio.com/topic/188679-tutorial-supersimple-aircraft-template/

 

> The wheels shape plays an important part too. If you get in trouble they might be worth a look.

Share this post


Link to post
Share on other sites

So almost all of your weight is on your wheels?

Hehe no, each wheel weighs 26'66kg´. Total weight is 2.700kg

 

I'd copy the complete wheel from the res lod to the geo lod and check if it's closed and convex. Sabre did create a tutorial that mentions the wheel shape as possible culprit: https://forums.bistudio.com/topic/188679-tutorial-supersimple-aircraft-template/

 

> The wheels shape plays an important part too. If you get in trouble they might be worth a look.

 

I will try that, let's see if the wheels don't go wild making them convex.

Thanks

Share this post


Link to post
Share on other sites

Can you remove the damage with 'this allowDamage false' in the init box and see if it works then? Do the wheels have any weight associated in the geo lod, like 100kg or so?

 

Good evening!

Well, I have found two non convexities on the Geometry LOD. Weird, as they definitely haven't shown up before...

I have closed them and now, the plane still bobs from one side to another before takeoff.

I disabled damage, and once it takes off (it takes very long for it to gain enough speed) once in the air it DOES give the option to retract the gear!

So it must have something to do with the gear getting damaged.

 

Maybe this is an extremely idiotic question, but am I supposed to add some sort of material to the wheels in the geo LOD or set a wheel friction coef?

Because if that is the case, I've done nothing of the sort.

Share this post


Link to post
Share on other sites

I don't know if this will help, but have you swapped the left and right wheel in the driveOnComponents yet? Not sure if that really makes a difference, but might be worth a try.

Share this post


Link to post
Share on other sites

I don't know if this will help, but have you swapped the left and right wheel in the driveOnComponents yet? Not sure if that really makes a difference, but might be worth a try.

 

Good day!

I have finaly made it work. The solution was: make new GEO and PhysX LODs  :lol:

I don't know what was wrong, but it was definitly there. Now the airplane takes off, can retract and open gear..

Thanks for your help, and I hope we can see a Supermarine Spitfire ingame sometime soon!

 

Thanks again.

  • Like 2

Share this post


Link to post
Share on other sites

Cheers mate!

Spity is coming along well. I'm adding some stuff to it. Just need to get the rpm gauge working (rpms go to 100% with just engine ON) and another minor issues!

Thanks for your help!

  • Like 1

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×