Aircrafts wheels wont collide with carrier

Ask questions, discuss ideas, get answers
hipnox
Posts: 68
Joined: Tue Aug 09, 2011 10:34 pm

Aircrafts wheels wont collide with carrier

Post by hipnox »

a quick one.

So i made a landing zone for planes in one of my ships. The planes use default bf109 wheels. the problem is that the wheels do not collide with the ship and thus the plane falls on its belly.

Any ideas? i tried with materials 50 and 55 for the carrier, but no cigar
Last edited by hipnox on Sat Nov 05, 2011 10:09 pm, edited 2 times in total.
User avatar
Swaffy
Posts: 1715
Joined: Sun Aug 29, 2010 9:25 pm
Location: Cibolo, Texas

Re: Aircrafts wheels wont collide with carrier

Post by Swaffy »

Have you compared the collisionMesh material IDs of the Enterprise to the IDs of your ship? You should have two COL meshes, COL1 and COL2. The first, I think, is for vehicle-to-vehicle collisions along with ground collisions. The COL2 mesh is, I think, for projectiles.
(Forum Thread|Download) Swaffy'sMod v0.34 | Download link to come Soon™
hipnox
Posts: 68
Joined: Tue Aug 09, 2011 10:34 pm

Re: Aircrafts wheels wont collide with carrier

Post by hipnox »

My model has 2 identical collision meshes (COL1 = COL2)

I can stand, shoot and crash into the carrier. The only objects that appears to go through it are airplane wheels (haven't tried with other wheels)
User avatar
Swaffy
Posts: 1715
Joined: Sun Aug 29, 2010 9:25 pm
Location: Cibolo, Texas

Re: Aircrafts wheels wont collide with carrier

Post by Swaffy »

Have you tried raising the plane spawner so that the wheels spawn above the carrier's mesh?
(Forum Thread|Download) Swaffy'sMod v0.34 | Download link to come Soon™
hipnox
Posts: 68
Joined: Tue Aug 09, 2011 10:34 pm

Re: Aircrafts wheels wont collide with carrier

Post by hipnox »

i did. I also tried landing on it with a plane taken form elsewhere. Same thing happens
User avatar
fo0k
Posts: 1434
Joined: Fri Oct 16, 2009 4:21 pm
Location: UK

Re: Aircrafts wheels wont collide with carrier

Post by fo0k »

wheels in my experience should always have a matid of 37.. is suitably rubbery. maybe use the wheels from an existing plane to test if that's the issue?
hipnox
Posts: 68
Joined: Tue Aug 09, 2011 10:34 pm

Re: Aircrafts wheels wont collide with carrier

Post by hipnox »

im using the default bf109 wheels
User avatar
Swaffy
Posts: 1715
Joined: Sun Aug 29, 2010 9:25 pm
Location: Cibolo, Texas

Re: Aircrafts wheels wont collide with carrier

Post by Swaffy »

Does the wheel's Create template thing have this line [shown in bold]?

rem *** BF109wheelR ***
ObjectTemplate.create Spring BF109wheelR
ObjectTemplate.geometry BF109_Wheel_Right_M1
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
ObjectTemplate.Grip c_PGFRollGripWhenOccupied
rem -------------------------------------
ObjectTemplate.addTemplate e_WaterTouchPlane
ObjectTemplate.addTemplate e_wdustPlane
ObjectTemplate.addTemplate e_wdustPlaneL
rem -------------------------------------
ObjectTemplate.setStrength 24
ObjectTemplate.setDamping 12
(Forum Thread|Download) Swaffy'sMod v0.34 | Download link to come Soon™
hipnox
Posts: 68
Joined: Tue Aug 09, 2011 10:34 pm

Re: Aircrafts wheels wont collide with carrier

Post by hipnox »

yes it does.

Besides, the wheels work on the ground. Its just over MY carrier that they do not work (they work on the enterprise and the jap carrier but i dont know whats different about them)
User avatar
Swaffy
Posts: 1715
Joined: Sun Aug 29, 2010 9:25 pm
Location: Cibolo, Texas

Re: Aircrafts wheels wont collide with carrier

Post by Swaffy »

Okay. It's not your plane, it's your ship's collision mesh. Maybe the surface is upside-down to where you can't go through the bottom but go through the top?

Can your character walk on it?
(Forum Thread|Download) Swaffy'sMod v0.34 | Download link to come Soon™
Post Reply