(2020-05-25, 22:23)Roland Melkert Wrote: seq:addAction(aniTools.funcDepAction(camAct.yaw, 0, nil, actor.dir, dep))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.
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.
"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.