Vanishing object
Re:
Yepp there is. So If I have to guess, If a plane dives, I should increase the bodylift and if it climbs I should decrease it?freddy wrote:i think i had started with adjusting the setWingLift on the BodyWingVertical (if there is any BodyWingVertical in the FH planes?)
Are there any leverage effects working in the game engine? IF so, maybe there more effect changing the lift on the rear wings?
I want to live in a created universe. Virtual reality, here I come.
Re: Vanishing object
Have now tried with changes in lift on wings and elevators. It wont work, the plane is just to nose heavy.
Even tried to add "ObjectTemplate.setPitchOffset".
What I think is needed is to add this:
As I understand this coding, its about balance the leveling of the plane in different speed?
Edit: I was wrong, That flaps is for making tighter turns. It doesen't affect the diving/climbing.
Even tried to add "ObjectTemplate.setPitchOffset".
What I think is needed is to add this:
Code: Select all
rem *** MustangFlaps1 ***
ObjectTemplate.create Wing MustangFlaps1
ObjectTemplate.setNetworkableInfo Mustang_wing_info
ObjectTemplate.geometry Mustang_flp1_M1
ObjectTemplate.setMinRotation 0/-2/0
ObjectTemplate.setMaxRotation 0/2/0
ObjectTemplate.setMaxSpeed 0/30/0
ObjectTemplate.setAcceleration 0/120/0
ObjectTemplate.setPitchOffset 0.5
ObjectTemplate.setPositionOffset 1.862/-0.003/-0.15
ObjectTemplate.setFlapLift 3
ObjectTemplate.setRegulateToLift 4.91
ObjectTemplate.setWingToRegulatorRatio 1
rem *** MustangFlaps2 ***
ObjectTemplate.create Wing MustangFlaps2
ObjectTemplate.setNetworkableInfo Mustang_wing_info
ObjectTemplate.geometry Mustang_flp2_M1
ObjectTemplate.setMinRotation 0/-2/0
ObjectTemplate.setMaxRotation 0/2/0
ObjectTemplate.setMaxSpeed 0/30/0
ObjectTemplate.setAcceleration 0/120/0
ObjectTemplate.setPitchOffset 0.5
ObjectTemplate.setPositionOffset -1.863/-0.003/-0.15
ObjectTemplate.setFlapLift 3
ObjectTemplate.setRegulateToLift 4.91
ObjectTemplate.setWingToRegulatorRatio 1
Edit: I was wrong, That flaps is for making tighter turns. It doesen't affect the diving/climbing.
I want to live in a created universe. Virtual reality, here I come.
Re:
But that would change the planes look i guess?freddy wrote:perhaps try change the position of the bodywing, either by changing the ObjectTemplate.setPositionOffset or directly in objects.con.
the planes mesh plays a big role in how the planes behave but im not sure how to change any of that.
Anyway I tried to add "ObjectTemplate.setPitchOffset -0.75" to the elevetaor, and that made it much better. Though it is speed related and the plane will need to have a optimal speed for leveling. But now its possible to use the mouse, so I guess I can settle for not prefect:). Have one thing more to test, negativ lift on the back wings.
I want to live in a created universe. Virtual reality, here I come.
there is something more to it, i remember a thread i think it was about DC but not sure anyway there was something like two choppers that looks the same or should be the same just with different equippment gunwise but all the same physic settings and one of them was supposedly sluggish to fly until the thread starter tried to change the mesh then they was the same to fly with.Psycho wrote:But that would change the planes look i guess?
i have no or little experience with the 3dmax program tho, never got around to use it much.

Re: Vanishing object
nothing is easy hehe.
I adjusted the "setPitchOffset" so the the planes level almost perfectly in their top speed. In that way below top speed they either dive slightly or climb slightly. But its so slow that it is no problem using the mouse.
I adjusted the "setPitchOffset" so the the planes level almost perfectly in their top speed. In that way below top speed they either dive slightly or climb slightly. But its so slow that it is no problem using the mouse.
I want to live in a created universe. Virtual reality, here I come.
Re: Vanishing object
Hello again. I have a new "problem". I'm trying to make a flettner spawn on yamato. And it works, but I cant get it on the deck so to say. It seems there is some interference with the collision meshes. So the heli is hanging a little bit over the deck. If I lower the spawn, it starts to vibrate or jump up and down.
On the destroyer it works just fine. But in both cases I get wierd Graphic errors when playing. Vertex errors I think its called. And it seems it is only when placing a vehicle spawn on the ships. Anyone know what the problem might be?
On the destroyer it works just fine. But in both cases I get wierd Graphic errors when playing. Vertex errors I think its called. And it seems it is only when placing a vehicle spawn on the ships. Anyone know what the problem might be?
I want to live in a created universe. Virtual reality, here I come.
the bouncing can be a bit irritating, it affects the org planes in bf42 to. some of them one have to place so high up on carriers it looks stupid. anyway in some cases like the flettner there is somethings one cant see but still there interacting with CollisionPhysics, ResponsePhysics etc.
the bouncing can vary with the server to, testing closely at homeserver and works fine then go live and bam it start to bounce.
Code: Select all
ObjectTemplate.create Spring FlettnerInvisibleWheel
ObjectTemplate.geometry Flettner_FrontWheel
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
ObjectTemplate.Grip c_PGFrollGrip
rem -------------------------------------
ObjectTemplate.setStrength 20
ObjectTemplate.setDamping 7
ObjectTemplate.setCreateInvisible 1
Re: Vanishing object
Well, I guess I can use the flettner on the destroyer in stead if I can solve the problem with the black flickering vertex lines.
I want to live in a created universe. Virtual reality, here I come.