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 / Camera movement and camera and matrix collision

Author
Message
The Zoq2
15
Years of Service
User Offline
Joined: 4th Nov 2009
Location: Linköping, Sweden
Posted: 11th Jun 2010 18:04
Hi, im making an AC130 simulator were you will be able to fly and be the gunner of an ac130. On the gunner part i need to make the camera fly around in circles, is that possible and if so how??
For the pilot part i need to be able to crash with the ac130 (the plane is a camera) in a building and in a matrix. is that possible??

Allso is it possible to follow an object with the camera so i can make it 3rd person??

Srry about my english im from sweeden
acurrate eye
15
Years of Service
User Offline
Joined: 28th Aug 2009
Location: ur house under your pillow was under bed
Posted: 11th Jun 2010 20:41
to make the camera third person view use the code in the main loop

oh and the ?? means the object number you want the camera to folow
and the !! means the camera number



oh and you may need to make the move camera a negative and switch one of the camera positions

There is a way to make the camera go around in circles you can use

wrap value...

if you can't do it try try again and if you still cant do it ask for help
The Zoq2
15
Years of Service
User Offline
Joined: 4th Nov 2009
Location: Linköping, Sweden
Posted: 11th Jun 2010 21:38 Edited at: 11th Jun 2010 22:44


This is what i did but it only goes backwards from the object

How does wrap value mean??

Srry about my english im from sweeden
The Zoq2
15
Years of Service
User Offline
Joined: 4th Nov 2009
Location: Linköping, Sweden
Posted: 12th Jun 2010 23:24 Edited at: 13th Jun 2010 10:50
I have foud a way to make the ac fly in circles using the objcet position comand but it doesn't seem to work. i used it like this


this is from my atempt to make an aouto pilot for the ac.


with mx2 and my2 being the lokation the ac shuld go to.

It seems like object position doesn't work since it didn't work in the camera thin eighter

Srry about my english im from sweeden

Login to post a reply

Server time is: 2024-11-23 14:00:56
Your offset time is: 2024-11-23 14:00:56