Tourguide or walktrough animation


RE: Tourguide or walktrough animation
#47
(2020-05-25, 22:23)Roland Melkert Wrote: seq:addAction(aniTools.funcDepAction(camAct.yaw, 0, nil, actor.dir, dep))

sets up a dependency action based on the direction between two breadcrumbs (the one the minifig is in between at the moment).

It uses that direction and the rest Z-Direction to calculate the camera left/right angle.
i can change the fps to 1 which allows me to look around and for some inexplicable reason the first person camera is still nowhere near the minifig center where it ideally should be. even if i don't try to look around with the mouse it seems the first person camera is placed somewher way out in front of the minifig.

"seq:addAction(aniTools.funcDepAction(camAct.yaw, 0, nil, actor.dir, dep))"
i tried deleting that line and the camera fell off the truck and was left at 0, 0, 0
what do you mean by "rest z-direction"?

it still turns to look in the direction of the minifig's changing position, and still reverts back to that focus at the start of each new frame when i try looking around.
Reply
« Next Oldest | Next Newest »



Messages In This Thread
RE: Tourguide or walktrough animation - by Moreau - 2020-05-25, 23:31

Forum Jump:


Users browsing this thread: 3 Guest(s)