alkirah
Member
|
Camera animation
Hi,
I'd like to know if there is a camera animation preprogrammed in engine or if I need to make my own.
Basicly I want a Vec camStartPos, Vec camEndPos, Flt animationTime that will move camera using lerp estimation.
Just willing to check if it already exists before I do my own
I haven't found one in Camera.h.
Thanks
(This post was last modified: 09-30-2011 05:50 PM by alkirah.)
|
|
09-30-2011 05:50 PM |
|
Driklyn
Member
|
RE: Camera animation
You could use waypoints in World Editor to define a path in your world, then load it in code and animate the camera using that path.
|
|
09-30-2011 06:31 PM |
|
alkirah
Member
|
RE: Camera animation
I just want to know if there's a function that will animate the camera or I have to manually lerp the pos of the cam.
start and end pos is already known, I just need the function to animate from point a to point b.
So if there's one will you please tell me or just tell me to go ahead making my own
|
|
09-30-2011 07:18 PM |
|
Driklyn
Member
|
RE: Camera animation
Not that I know of. You will have to manually animate the position, but that should be easy enough.
|
|
09-30-2011 08:49 PM |
|
bivit
Member
|
RE: Camera animation
Do not know if that helps, but there is a tutorial "Tutorials \ Source \ Advanced \ 4 - Demos, Game Basics \ Game Basics \ Waypoints.cpp"
I believe that we can make the camera follow the waypoint
|
|
10-14-2011 03:54 PM |
|
Damian_Dev
Member
|
RE: Camera animation
in loop
and cam roll must look like that:
(This post was last modified: 10-14-2011 03:57 PM by Damian_Dev.)
|
|
10-14-2011 03:57 PM |
|