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.

Newcomers DBPro Corner / moving object

Author
Message
Pal
21
Years of Service
User Offline
Joined: 13th Apr 2003
Location:
Posted: 15th Oct 2003 10:13
i was just getting started out with darkbasic. i am stcuk out here in one thing.

i made a simple sphere. now i wanted the user to be able to move it up, down,left,right (like 2d) and in z axis. i came to know how to move it back and forth in z axis. but not left,right,up down. so could ya guys help me out. i also want move the object in diff directions in z axis. help file din;t help that much.

btw click below to view my code neways

I am da man! Beware of my LAZER EYES!
BatVink
Moderator
21
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 15th Oct 2003 11:04
MOVE OBJECT moves the object in it's own Z axis, which just happens to be the world Z axis for a newly created primitive.

You can either ROTATE OBJECT and MOVE OBJECT again, or use commands like MOVE OBJECT DOWN, or POSITION OBJECT

BatVink (formerly StevieVee)
http://facepaint.me.uk/catalog/default.php
Pal
21
Years of Service
User Offline
Joined: 13th Apr 2003
Location:
Posted: 15th Oct 2003 11:16
ok thanx

I am da man! Beware of my LAZER EYES!

Login to post a reply

Server time is: 2024-09-21 06:35:00
Your offset time is: 2024-09-21 06:35:00