Welcome Guest [Log In] [Register]
We hope you enjoy your visit.


You're currently viewing the Ultimate 3D Community as a guest. This means that you can only read posts, but can not create posts or topics by yourself. To be able to post you need to register. Then you can participate in the community active and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free.

Join our community!

If you are already a member please log in to your account to access all of our features:

Username:   Password:
Add Reply
Cam Projection Help...; Cam follow objet with delay...
Topic Started: Oct 12 2008, 04:25 AM (128 Views)
nic_rf
Newbie
[ * ]
Hi, I am Québecois(French Canadiam), I have a bad english:P

But, my question is: I wan camera follow the player postion with delay(on topdown) and with rotation on the player...do you understant?

Plz
thank you
Posted Image
Offline Profile Quote Post Goto Top
 
ashrat3000
Member Avatar
u3d raytracer
[ *  *  *  *  *  * ]
Try:
Code:
 
delay = 0.5; //0 means it will not move and 1 means it will move with no delay (instant)
x += (player.x - x)*delay;
y += (player.y - y)*delay;
z += (player.z+100 - z)*delay;


That goes in the step event of the camera.


그대를 사랑해


Offline Profile Quote Post Goto Top
 
Andrew75
Member Avatar
Andrew75
[ *  *  *  *  *  * ]
is this what your looking for? ( videos)
http://www.youtube.com/watch?v=JQC7o5Pcd4c
http://www.youtube.com/watch?v=5yWc0TOmRCg

if so than theres a ruberband camera example me and XYZ teamed up to do here,,,
http://forum.ultimate3d.org/topic/173995/1/

read the 3'ed link down starting with,,,
''Here's another way to make the camera follow the character, using the concept of a "rubberband camera" - credit to Andrew75 for the idea ''

also scroll down to (Apr 13 2008, 08:19 PM Post #6) for instructions on how to adjust the camera's delay.
Edited by Andrew75, Oct 12 2008, 04:12 PM.
Posted Image
(SONIC CD REMIX)
check out my vids
http://www.youtube.com/profile?user=tuxmask75
Check out our projects vids
http://www.youtube.com/profile?user=AXSXProject
Offline Profile Quote Post Goto Top
 
nic_rf
Newbie
[ * ]
yes is it, your rubertand cam, thank you
Offline Profile Quote Post Goto Top
 
Andrew75
Member Avatar
Andrew75
[ *  *  *  *  *  * ]
nic_rf
Oct 12 2008, 04:17 PM
yes is it, your rubertand cam, thank you
your welcome.
:thumb_up: its mostly XYZ's Cam since he did the codework.
i only did the conception.
Edited by Andrew75, Oct 12 2008, 04:29 PM.
Posted Image
(SONIC CD REMIX)
check out my vids
http://www.youtube.com/profile?user=tuxmask75
Check out our projects vids
http://www.youtube.com/profile?user=AXSXProject
Offline Profile Quote Post Goto Top
 
« Previous Topic · Questions about Ultimate 3D · Next Topic »
Add Reply