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 / SC_RemoveObject() inside a class?

Author
Message
prasoc
16
Years of Service
User Offline
Joined: 8th Oct 2008
Location:
Posted: 10th Mar 2009 23:10 Edited at: 11th Mar 2009 19:17
Take the class "ai" as well, an AI class:

FIXED PROBLEM. CODE GONE...

that is the gist of my ai class, but when I call deSetup() it gives me an error saying "Collision error - Object 20 is not set up". Is there any reason for this?
Lion Jin
18
Years of Service
User Offline
Joined: 24th Sep 2006
Location:
Posted: 11th Mar 2009 03:43
Your should excute "SC_RemoveObject()" first ,and then excute dbDeleteObject ,because you could not remove the collison data without the refer model.
prasoc
16
Years of Service
User Offline
Joined: 8th Oct 2008
Location:
Posted: 11th Mar 2009 19:06 Edited at: 11th Mar 2009 19:16
OMG IM SUCH AN IDIOTTTTTTTT! I remove the object from the collision list, but in the same frame (later on) I try and update it ....

Login to post a reply

Server time is: 2024-11-25 17:57:34
Your offset time is: 2024-11-25 17:57:34