Hard Light Productions Forums

Modding, Mission Design, and Coding => The Modding Workshop => Topic started by: JGZinv on July 10, 2011, 11:45:01 pm

Title: Thin Model Issues
Post by: JGZinv on July 10, 2011, 11:45:01 pm
On our mod during testing of a few ships lately I've noticed that when a ship with very thin wings/parts (example of .75 to .155 meters)
you can fly, shoot, etc right through them.

I imagine this is a collision detection issue, but is there anything we can do besides scale the ships (and everything else... ) up
to get thicker parts?

I'm guessing here, but it seems the thickness limit is around 1.0m based on what I can see is registering on the fringes of our thin areas.
Title: Re: Thin Model Issues
Post by: Talon 1024 on July 10, 2011, 11:53:19 pm
You can probably make an invisible collision mesh to try and remedy that problem.  First, make the collision mesh and parent it to the visual mesh.  Then, set the $nocollide_this_only subobject flag on the visual mesh and set the $collide_invisible flag on the collision mesh.

See this (http://www.hard-light.net/wiki/index.php/Subobject_and_subsystem_properties) for a list of subobject flags.