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 / Strife Camera left/right

Author
Message
miko
19
Years of Service
User Offline
Joined: 2nd Oct 2005
Location: Germany
Posted: 6th Oct 2005 21:58
Hi all,

I just bought the DSDK and am now doing my first steps.
Gosh, what a great relief, compared to "native" DX programming

On topic:
I have my camera placed "somewhere", pointing to "someplace else". Now, I want to "strife" it left/right; e.g., move it along its own x-axis when pressing cursor left/right.

I understand I can't use a ready made DSDK function (at least, I didn't find any), but have to throw in some own calculations.

Any idea what would be the best way to do so?

Thanks a lot,
Miko
IanM
Retired Moderator
22
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 6th Oct 2005 22:20
There are two functions available that aren't in the help: dbMoveCameraLeft() and dbMoveCameraRight().

It's definitely worth having a scan through the SDK header files for things like this - you never know what you might find that you can use

For free Plug-ins and source code http://www.matrix1.demon.co.uk
miko
19
Years of Service
User Offline
Joined: 2nd Oct 2005
Location: Germany
Posted: 7th Oct 2005 21:41
Whoohoo, here we go.
Thanks a lot, IanM

Login to post a reply

Server time is: 2024-11-19 02:43:40
Your offset time is: 2024-11-19 02:43:40