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.

Dark GDK / dbMoveObjectIn and dbMoveObjectOut?

Author
Message
Scarface
18
Years of Service
User Offline
Joined: 21st Oct 2006
Location:
Posted: 22nd Aug 2007 23:43
I have this so far:



Is there a function to move an object along it's z coordinates?

The reason for this dumb program is to get me to grips with the way vectors work in DarkGDK, it seems to work in a very strange manor.

- Scarface
Karsten
17
Years of Service
User Offline
Joined: 24th Jan 2007
Location: N/A
Posted: 23rd Aug 2007 00:11 Edited at: 23rd Aug 2007 00:27
I think its just...

dbMoveObject( 1, 2.0);

to go 2 places forwards.

use...

dbMoveObject( 1, -2.0); //notice the minus :p

to go 2 places backwards
Scarface
18
Years of Service
User Offline
Joined: 21st Oct 2006
Location:
Posted: 23rd Aug 2007 00:23
Nice one cheers

- Scarface

Login to post a reply

Server time is: 2024-11-19 15:35:27
Your offset time is: 2024-11-19 15:35:27