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.

DarkBASIC Discussion / 3D Object Cloning in DBC?

Author
Message
Dark Dennan
17
Years of Service
User Offline
Joined: 22nd Dec 2007
Location: Guess, I won\'t tell ya
Posted: 22nd Dec 2007 21:37
Hello there, I'm quite new here but I've used DBC for a half year and I'm having problems with my upcoming 3D FPRPG game.
You see, I use a object collision code that checks collision between 2 objects. But this doesn't work between a static object and an object. So I ask you : Is there a way to clone a 3D OBject in DBC without reloading the same object over and over again? I rather not use collision boxes.

Thank all of you how take your time to read and try to help me

Regards, Dark Dennan

"Uroks Faith", a 3D FPRPG in the works, alpha demo coming soon
Libervurto
18
Years of Service
User Offline
Joined: 30th Jun 2006
Location: On Toast
Posted: 22nd Dec 2007 23:56
You cannot clone an object per se, but what you can do is make a mesh from an object and then use that mesh to make other identical objects.
The commands you need to look up are MAKE MESH FROM OBJECT and MAKE OBJECT.

Dark Dennan
17
Years of Service
User Offline
Joined: 22nd Dec 2007
Location: Guess, I won\'t tell ya
Posted: 23rd Dec 2007 00:08
Hey, thx for that, it worked as I wanted
Thx alot

Login to post a reply

Server time is: 2025-06-02 10:07:24
Your offset time is: 2025-06-02 10:07:24