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 / Physics on Instanced Objects

Author
Message
revenant chaos
Valued Member
17
Years of Service
User Offline
Joined: 21st Mar 2007
Location: Robbinsdale, MN
Posted: 18th Jun 2008 14:18
I was just messing around, and found a way to run physics on instanced objects.


1)create/load an object
2)scale,position and rotate the object
3)setup physics for the object (create a rigid body)
4)delete the object (not the rigid body)
5)Re-create the object by instancing the object from a master, Using the same object ID you used in step 1
6)re-scale,position and rotate the object

Enjoy physics on instanced objects.
HowDo
21
Years of Service
User Offline
Joined: 28th Nov 2002
Location: United Kingdom
Posted: 18th Jun 2008 14:22
revenant chaos, thats worth knowing well done.

Dark Physics makes any hot drink go cold.
bergice
17
Years of Service
User Offline
Joined: 5th Jun 2007
Location: Oslo,Norway
Posted: 18th Jun 2008 15:36
Nice!


Programming Recorder: 3,0 months of dark basic
Cash Curtis II
19
Years of Service
User Offline
Joined: 8th Apr 2005
Location: Corpus Christi Texas
Posted: 18th Jun 2008 18:24
Yeah, good to know. I do the same with Sparky's collision, I didn't think to do it for physics as well.


Come see the WIP!

Login to post a reply

Server time is: 2024-11-24 23:33:28
Your offset time is: 2024-11-24 23:33:28