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 dll inaccurate?

Author
Message
NewGuy
18
Years of Service
User Offline
Joined: 11th Nov 2005
Location: Interdimensional vortex
Posted: 12th Nov 2005 03:56
I'm using sparkys collision dll for DBP that I got from http://forum.thegamecreators.com/?m=forum_view&b=5&t=31051&p=0. Right now I'm using it to try and make somthing like the demo that came with it, I want to beable to place a box on another box and make a stack of them but some times when I place the box it dosn't get placed in the right spot like the intersectobject command is rounding or something.

when I place objects to the right of the axis (0,0,0) they get placed slightly to the left of the target, but if I move in a stright line and only change the X or the Z position of the camera it seems to be accruate.

here is the code I have (I comented out the media I was useing)

The DLL is probaly running just fine and its just my code but I dosn't know where I messed up, any help on fixing this will be appreciated
Paul Johnston
TGC Developer
21
Years of Service
User Offline
Joined: 16th Nov 2002
Location: United Kingdom
Posted: 12th Nov 2005 05:03
You needed to use floats for the camera positions



Also filled in the bit of code that avoids moving the camera for you.
NewGuy
18
Years of Service
User Offline
Joined: 11th Nov 2005
Location: Interdimensional vortex
Posted: 12th Nov 2005 13:27
ah thank you! thats what i get for taking a break from programing

Login to post a reply

Server time is: 2024-05-07 01:46:27
Your offset time is: 2024-05-07 01:46:27