(2019-12-23, 21:18)Roland Melkert Wrote: The tour animation has a cameraMode variable at the top, change it to 1 for first person mode.why would first person need a distance? I'm guessing the 'eye' is the position in xyz, which is what i would want to move via script. the last three parameters i would want to be mouse controlled. is that possible?
ldc.camera parameters are 'mode' followed by a number of mode depend ones.
first person
ldc.camera(1, eye, dist, yaw, tilt, roll)
third person
ldc.camera(3, lookAt, dist, yaw, tilt, roll)
two point
ldc.camera(2,lookAt, eye, roll
advanced
ldc.camera(0,lookAt, ori, dist)
mode 1..3 are basically just wrappers as internally all cameras are 'advanced'.
Tourguide or walktrough animation
« Next Oldest | Next Newest »
Users browsing this thread: 7 Guest(s)