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 Professional Discussion / Help with positions and locked objects

Author
Message
Rye
23
Years of Service
User Offline
Joined: 30th May 2003
Location: United Kingdom, Blackrod
Posted: 22nd Aug 2003 01:58
I have been coding a new game since 4pm (i got inspired by a film) and i just had the best coding experience ever. I was sat there typeing away listening to the chillin sounds of Joe Satriani when everything went right all my code worked, i was sooo happy and still am at what i have acomplished.

BUT i realised i have come across a HUGE problem that i just cant figure out. i have an object locked to the screen. I then move the camera to another position. I have a particle effect continuallly repositioning itself ontop of the locked object. The particles are always at a position at 0,0,0 because that is where the locked object was when it got locked to the screen.

If i fly back to 0,0,0 i can see the particle emmisions moving as i move the locked object(which moves but is still attached to the screen).

Please.. does anyone have any suggestions

He who keeps his work in disorder gives home to chaos. Let him be struck with stone and iron to forge away his flaws
Rye
23
Years of Service
User Offline
Joined: 30th May 2003
Location: United Kingdom, Blackrod
Posted: 22nd Aug 2003 22:53
never mind im just gonna redo the code another way that should be better but maybe a little slower.

He who keeps his work in disorder gives home to chaos. Let him be struck with stone and iron to forge away his flaws

Login to post a reply

Server time is: 2026-07-24 00:17:59
Your offset time is: 2026-07-24 00:17:59