Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK / Problem with terrain

Author
Message
programing maniac
16
Years of Service
User Offline
Joined: 19th Apr 2008
Location: Bawk, Bawkity
Posted: 19th Jun 2008 04:34
I am using using the sphere slide thing in order to make gravity. I works out well, the object does what I want it to.

The problem is that when I try to have my character go through a tunnel, it falls through the floor. I think this is because the normals are flipped in the tunnel. I use dbSetObjectCull (1, false ); so I can see the inside, but I still get the problem.

anyone know how to solve this??

Thanks.

Your signature has been erased by a mod - 120 high maximum please
Zuka
16
Years of Service
User Offline
Joined: 21st Apr 2008
Location: They locked me in the insane asylum.
Posted: 19th Jun 2008 07:59
Can you flip the normals in the tunnel in Blender?

If you can do any models for FW, reply to the FleetWars thread.

Click here!
programing maniac
16
Years of Service
User Offline
Joined: 19th Apr 2008
Location: Bawk, Bawkity
Posted: 19th Jun 2008 14:42
Yeah, but is there another way? Like I have another model that also has a tunnel system, but that one would be REALLY hard to flip the normals of just the tunnel...

Your signature has been erased by a mod - 120 high maximum please
Zuka
16
Years of Service
User Offline
Joined: 21st Apr 2008
Location: They locked me in the insane asylum.
Posted: 19th Jun 2008 21:41
Try identifying the problem. Flip all the normals, see if the tunnel works and the rest doesn't, as you expect.

If you can do any models for FW, reply to the FleetWars thread.

Click here!
dark coder
22
Years of Service
User Offline
Joined: 6th Oct 2002
Location: Japan
Posted: 20th Jun 2008 00:28
The normals have nothing to do with it, I don't see why the lib would even need to read them. I'm pretty sure the lib doesn't collide with backfaces regardless of your backface cull settings(an optimization?) your best bet is just to duplicate the mesh and flip the faces for the collision mesh only, unless your visual mesh needs this too.

Zuka
16
Years of Service
User Offline
Joined: 21st Apr 2008
Location: They locked me in the insane asylum.
Posted: 20th Jun 2008 01:30
Yeah, thats what I thought...

If you can do any models for FW, reply to the FleetWars thread.

Click here!
programing maniac
16
Years of Service
User Offline
Joined: 19th Apr 2008
Location: Bawk, Bawkity
Posted: 20th Jun 2008 02:40 Edited at: 20th Jun 2008 15:40
hm.... I was hoping there would be another way... Thanks, though...

[edit] It does completely double my poly count.....

Your signature has been erased by a mod - 120 high maximum please

Login to post a reply

Server time is: 2024-11-20 13:36:32
Your offset time is: 2024-11-20 13:36:32