Crashes when using serialized scene collision

A place to discuss everything related to Newton Dynamics.

Moderators: Sascha Willems, walaber

Crashes when using serialized scene collision

Postby KingSnail » Wed May 25, 2011 5:10 pm

I make a bunch of collision tree objects, optimized them
added them all to a dScene collision.
serialized the dScene collision.

Loaded it into my game.
Made collision from serialization.
Made my level body use that collision.

Get crashes in dgFloat32 dgCollisionScene::CalculateSurfaceArea
For some reason it still loads in release mode but its totally weird and nothing is drawn.
Working on an MMORPG powered by Newton Dynamics.
User avatar
KingSnail
 
Posts: 112
Joined: Sat Jan 02, 2010 9:55 pm

Re: Crashes when using serialized scene collision

Postby Julio Jerez » Wed May 25, 2011 5:19 pm

I debug mode, can you see what collision is loading?

then try to add just that and see if you can reproduce the error.
Julio Jerez
Moderator
Moderator
 
Posts: 12426
Joined: Sun Sep 14, 2003 2:18 pm
Location: Los Angeles

Re: Crashes when using serialized scene collision

Postby KingSnail » Wed May 25, 2011 5:53 pm

Ok, it turns out it was a model problem. I loaded my sponza atrium level and it works.
Great news, the dScene collision has fixed my lion problems (Where character could tunnel through the lion)
There is barely any character controller problems now, except a small bouncing (up and down, up and down) on some ledges of the floor.
I think the proxy controller would fix all the issues though.
Working on an MMORPG powered by Newton Dynamics.
User avatar
KingSnail
 
Posts: 112
Joined: Sat Jan 02, 2010 9:55 pm


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 2 guests