Tourguide or walktrough animation


RE: Tourguide or walktrough animation
#15
(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.

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'.
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?
Reply
« Next Oldest | Next Newest »



Messages In This Thread
RE: Tourguide or walktrough animation - by Moreau - 2019-12-26, 1:03

Forum Jump:


Users browsing this thread: 2 Guest(s)