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 / object moving problems

Author
Message
Dark Pledge
21
Years of Service
User Offline
Joined: 15th Oct 2003
Location:
Posted: 27th Oct 2003 05:50
im still new at dark basic and i have a question!

all my .x models are facing to the right when i load em' to my game. when i put the command

if upkey()=1 then move object 1,1

the object moves up.....but still faces to the right!!!

i know theres a simple solution but remeber this is my first day!



Dpledge
JoelJ
21
Years of Service
User Offline
Joined: 8th Sep 2003
Location: UTAH
Posted: 27th Oct 2003 06:42
i had the problem, didnt care much at that time, so i didnt mess w/it but what i thought you could do:
1)use the rotate command, dont know why, but that never worked for me...
2)rotate the object in the modling program (3ds, milkshape,wings3d, whatever your using)

<{^_^<}
IFI_ManiA
21
Years of Service
User Offline
Joined: 27th Oct 2003
Location: Germany
Posted: 27th Oct 2003 10:38
rotate the object to the right direction, then "fix object pivot ObjNr"

MfG
Ifi

E = mc³ -think about!
JoelJ
21
Years of Service
User Offline
Joined: 8th Sep 2003
Location: UTAH
Posted: 28th Oct 2003 18:38
that would work too

<{^_^<}
guru of boredom
21
Years of Service
User Offline
Joined: 12th Oct 2003
Location: middle of no where
Posted: 4th Nov 2003 04:18
someone made a function that would do this in the codebase but i havent used it. srry i couldnt help more!

its not a bug its a ... a ... a extra feature!
P4 2.4 ghz 120 GB 256 mb GeForce4

Login to post a reply

Server time is: 2025-05-21 09:24:40
Your offset time is: 2025-05-21 09:24:40