3D Rad - Free 3D game maker - Forum

This forum is now archived!

This forum is locked, and is a read-only version. A new community-ran forum can be found at classdev.net

News:

The 3DRad community can be found at classdev.net.

Pages: [1]

Author Topic: Is there a way to Debug on the fly?  (Read 848 times)

« on: December 06, 2009, 10:00:02 PM »
This question is probably for Fernando:
      Is there some software I can run while Running my project to catch "Bugs" and crashes on the fly (Code Wise) ? I ask this because im having a crash on my project (Compiled project) that just seems random. Sometimes Im able to play it through for 30 minutes straight and everythings fine. Othertimes , 5 minutes or less into it, it just shuts down. This occurs maybe 1 out of every 10 runs. Im thinking that it might be a side effect of resseting the rigidbody, since sometimes some of the events on contact in my project gets activated misteriously after resseting (Not always though). Has anybody else had a similar Problem with high velocity collision? Also, Ive noticed that once something goes wrong in the simulation ( for instance a rigidbody going through a solid wall) the phisics is unreliable aterwards.
Roll out!
http://www.youtube.com/watch?v=VD8MvMaPNO4

Do you have kids between the ages of 3 and 9?

http://www.amazon.com/dp/B007K1EFC6
« Reply #1 on: December 07, 2009, 03:23:35 AM »
The crash is likely to happen inside the 3drad engine so there is no way to trap it from the 3drad environment.

The problem could be caused by some small polygon in your polygonal RigidBody models, or a triangle which is too stretched.

Not easy to fix, but sometimes if you simply change the 'collision map resolution' value for your poly-based RigidBodies the crash goes away. Please the RB help file for details on 'collision map resolution' parameter.
« Reply #2 on: December 07, 2009, 06:41:47 AM »
Cool, Ill try to work on the rigid body and see what I can optimize. Thx! ;)
Roll out!
http://www.youtube.com/watch?v=VD8MvMaPNO4

Do you have kids between the ages of 3 and 9?

http://www.amazon.com/dp/B007K1EFC6
Pages: [1]