Hard Light Productions Forums

Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: DaBrain on July 15, 2004, 07:49:24 am

Title: Collision problem
Post by: DaBrain on July 15, 2004, 07:49:24 am
As you might know, we're working on ground missions at the Starfox mod.

There is a big problem: The ship won't collide with a plane model.

Could you fix this, so the player will collide with one-side objects ?
Title: Collision problem
Post by: Atalhlla on July 16, 2004, 09:39:20 pm
Well, I know NOTHING about this, myself, having never tried making a ground mission thingy, but one idea could be to make all the points on the edges (outer edges, only) link to one point under the mesh itself.  More polys, yeah, but it's the only offhand way I can think of how to do it :P

Do hidden polys take away from render time?
Title: Collision problem
Post by: DaBrain on July 17, 2004, 02:08:39 pm
I don't know. But I don't even understand why you can't collide with a plane model...
Title: Collision problem
Post by: KARMA on July 17, 2004, 03:12:03 pm
try to change converter.
try to remove eventual intersections
Title: Collision problem
Post by: DaBrain on July 18, 2004, 05:17:29 am
Doesn't help.
But it should work somehow, right ?
Title: Collision problem
Post by: KARMA on July 18, 2004, 06:32:41 am
yep, an I guess your problem is caused by intersections in the ground pof.
maybe you used buildings or mountains or other objects and they intesect the sphere/plane of the ground.
Intersections usually works fine, but sometimes they cause the no-collision thing.
Oh, and if you are using a big plane as ground model, be sure to subdivide it in smaller sections (don't make a square of 80km edge...)
Title: Collision problem
Post by: DaBrain on July 18, 2004, 10:46:04 am
Is there a problem with really big models ?


There are no intersections. Just one flat model...

Thanks for you help so far :)
Title: Collision problem
Post by: karajorma on July 18, 2004, 12:42:50 pm
Quote
Originally posted by DaBrain
Is there a problem with really big models ?


A really big sphere. No
A really big cityscape with lots of complicated polys some 200Km in size. Most likely yes.

Although my info relates to the Vorlon Planet Killer in FS2 Retail. It may work better in FS2_Open.
Title: Collision problem
Post by: DaBrain on July 18, 2004, 01:10:25 pm
Ok, I'll just test a smaler plane without any details.


Btw with the right shinemap landsacpes look really good in FS2.
Far betten than I expected.

I hope I can make this work.
Title: Collision problem
Post by: KARMA on July 18, 2004, 01:51:03 pm
so what you have?a flat plane without details?
how big is it? how many polys?
Remember that the problem may be in the ship you use to test rather than the landscape...