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 Physics & Dark A.I. & Dark Dynamix / Blocks Exploding When re-created

Author
Message
Black Mesa
18
Years of Service
User Offline
Joined: 25th Mar 2006
Location:
Posted: 14th Aug 2006 00:06
Im having a problem when I try to run the code to make a bunch of objects after the program is already running. When I use the code on start-up it works fine but if I run it halfway through the program the blocks explode everywhere. Any ideas? I'd run it through the debugger, but I cant figure out how to get that to work.



Press R to delete and remake the boxes and see what happens.

Your mod has been erased by a signature
HowDo
21
Years of Service
User Offline
Joined: 28th Nov 2002
Location: United Kingdom
Posted: 14th Aug 2006 00:26
try making the program only delete one object and see what happens.

Dark Physics makes any hot drink go cold.
HowDo
21
Years of Service
User Offline
Joined: 28th Nov 2002
Location: United Kingdom
Posted: 14th Aug 2006 00:41
Nop, its add this line into ypour delete code

phy delete rigid body boxdel

Dark Physics makes any hot drink go cold.
Black Mesa
18
Years of Service
User Offline
Joined: 25th Mar 2006
Location:
Posted: 14th Aug 2006 00:42
That was exactly it. Perfect! Thank you.

Your mod has been erased by a signature
HowDo
21
Years of Service
User Offline
Joined: 28th Nov 2002
Location: United Kingdom
Posted: 14th Aug 2006 00:45
when I removed makeboxes()in the delete bit, it moaned they where still there.

Dark Physics makes any hot drink go cold.
bosskeith
18
Years of Service
User Offline
Joined: 5th Dec 2005
Location:
Posted: 14th Aug 2006 02:15
those hopping boards is kind of fun though

Ink all over the screen...and dang it! Signature still does not show.
HowDo
21
Years of Service
User Offline
Joined: 28th Nov 2002
Location: United Kingdom
Posted: 14th Aug 2006 15:26
Black Mesa put this in the techniques section for others to find or code snippets as a physic reset thread.

Dark Physics makes any hot drink go cold.
HowDo
21
Years of Service
User Offline
Joined: 28th Nov 2002
Location: United Kingdom
Posted: 15th Aug 2006 06:51
The other command you could have used was phy clear this will do all objects in system.

Dark Physics makes any hot drink go cold.

Login to post a reply

Server time is: 2024-11-24 14:27:58
Your offset time is: 2024-11-24 14:27:58