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.

DLL Talk / sparky \'s dll! help me please!

Author
Message
Problems
16
Years of Service
User Offline
Joined: 28th Apr 2008
Location:
Posted: 19th Jun 2008 16:36
Hi!

I have one really difficult question (for me ). I\\\\\\\\\\\\\\\'m create one house model with 3D World Studio and export it to DarkBASIC Pro. Now I\\\\\\\\\\\\\\\'m control camera like it is a player (camera). But how can I create a collision for camera so that it can\\\\\\\\\\\\\\\'t walk throught the wall?! I\\\\\\\\\\\\\\\' m trying by \\\\\\\\\\\\\\\"automatic camera collision\\\\\\\\\\\\\\\" or \\\\\\\\\\\\\\\"set object collision to spheres\\\\\\\\\\\\\\\" or something like this. But collision is create on hole object. Please help me! (I\\\\\\\\\\\\\\\'ve heard for sparky\\\\\\\\\\\\\\\'s dll(but i don\\\\\\\\\\\\\\\'t know how it\\\\\\\\\\\\\\\'s work), that is why i\\\\\\\\\\\\\\\'m write in this forum)


DarkBasic Master
Nano brain
16
Years of Service
User Offline
Joined: 7th May 2008
Location:
Posted: 6th Jul 2008 13:49 Edited at: 8th Jul 2008 07:12
Hello,

Try using the command set object collision on object num on your loaded model. I'm not sure if it works for loaded models. I've never used DBP's collision commands. However, Sparky's does for sure, and you have more control with his dll anyhow. Go here to get Sparky's collision dll. It comes with full help files and an example. It's not too hard to learn. Also, search the forums for past threads on the subject if you need help getting a better understanding of the dll. Or, if at last that does not help, then post a new thread with a specific question.

Good luck.

*EDIT_Didn't notice on posting this that you did use the command I stated above. Hmmm...duh to me.
KISTech
16
Years of Service
User Offline
Joined: 8th Feb 2008
Location: Aloha, Oregon
Posted: 6th Jul 2008 21:23
The examples that come with Sparky's DLL are very helpful in figuring out how it works. Check them out.

I don't know if it would be easier or not but you might make the character an invisible cube or sphere. That way you can just worry about the object commands, and then just move the camera to where the object moves.

Login to post a reply

Server time is: 2024-11-23 05:37:41
Your offset time is: 2024-11-23 05:37:41