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 following mouse code

Author
Message
Fneep
19
Years of Service
User Offline
Joined: 3rd Sep 2005
Location: In my house
Posted: 10th Aug 2006 00:05 Edited at: 10th Aug 2006 00:08
I was experimenting with some camera following the mouse code and this is what ive come up with:



But I feel that it is too rigid. Could anybody please tell me how to make it looser? Like the camera trails after the mouse. But when you stop moving the mouse, the camera catches up?

Thnx in advance,

~BlackEthereal

When life gives you lemons, make orange juice. Then sit back, drink the orange juice, and wonder how the f**k you made orange juice out of lemons.
Lukas W
21
Years of Service
User Offline
Joined: 5th Sep 2003
Location: Sweden
Posted: 10th Aug 2006 15:40
don't know if this is what you mean or not, but give it a try:


Fneep
19
Years of Service
User Offline
Joined: 3rd Sep 2005
Location: In my house
Posted: 10th Aug 2006 22:44 Edited at: 3rd Sep 2006 12:08
Very close, but I was hoping to be able to move around fully in 3D space, rather then just along the X and Z axis. Sorry.

~BlackEthereal

When life gives you lemons, make orange juice. Then sit back, drink the orange juice, and wonder how the f**k you made orange juice out of lemons.

Login to post a reply

Server time is: 2024-11-26 13:19:47
Your offset time is: 2024-11-26 13:19:47