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 / Need help with "set camera to follow"!!

Author
Message
Francesco
20
Years of Service
User Offline
Joined: 11th Apr 2004
Location: Milan, Italy
Posted: 26th May 2004 21:20 Edited at: 26th May 2004 21:21
I have this code
, and I wanted the camera to stay right to the back of the object. You can see though, that the object moves faster than the camera...how can I solve this problem?
Please help!

Non si inalberi mica con me, sa!
Lei è venuto qui, lei ha il tombino intasato!
Siamo uno spurgo serio, noi!
MikeS
Retired Moderator
21
Years of Service
User Offline
Joined: 2nd Dec 2002
Location: United States
Posted: 27th May 2004 01:24 Edited at: 27th May 2004 01:24
I think the problem is that you're constantly accelerating the object faster than the camera can catch up with it.


Try tweaking an example I made to fit your needs.




A book? I hate book. Book is stupid.
(Formerly known as Yellow)
GameKit
21
Years of Service
User Offline
Joined: 6th Mar 2003
Location: USA, Staring Blankly at a Computer
Posted: 27th May 2004 01:25 Edited at: 27th May 2004 01:27
Change the "step" or speed value to something higher...
"set camera to follow x1#,y1#,z1#,a#,100,50,1,3"
or mabey its...
"set camera to follow x1#,y1#,z1#,a#,100,50,3,1"
... I forget which one...

...Well... I hope I helped...

[Edit]
I was typing my reply as MikeS posted his...

Previously known as "Game_Creator".
The question is, why am I talking to myself? ...... And more importantly, why am I waiting for a reply?

Login to post a reply

Server time is: 2024-11-26 18:47:49
Your offset time is: 2024-11-26 18:47:49