Tourguide or walktrough animation


RE: Tourguide or walktrough animation
#11
(2019-12-06, 1:59)Roland Melkert Wrote: I liked the idea of an animated model tour from a minifig's perspective a lot (see  https://forums.ldraw.org/thread-23512-po...l#pid34790)

So I made a start on a generic script for it, to be included with LDCad 1.6c

Many things can be improved, but I'm very proud on the fact this was 'doable' without finding any bugs out of the box.

Attached a demo.

Any feedback / ideas on improvements are welcome.

A appropriate (big) model for testing purposes would be appreciated too.

edit:
This animation takes over the camera during playback. You can disable/enable that by clicking the 'CAM' label in the top right session panel in animation mode.
interesting, however i have some questions.
how do i toggle the camera to first person instead of third? i tried editing the one line in samples > camera test, from camConfusedetThirdPerson(camPos, camDist, angle+45, 25, 0)
to camConfusedetFirstPerson(camPos, camDist, angle+45, 25, 0)
and all it did was look up instead of down, though maybe it did stay in one place while doing so?

trying to move the camera with the mouse during playback just makes it look shakey
i admit i am still new to all this Lua stuff (as a first programming language), but i thought the only difference should be the first person camera remains stationary and just rotates the model space around it.
maybe what i want does'nt exist yet. is there even a way to toggle the mouse camera to first instead of third person perspective?
Reply
« Next Oldest | Next Newest »



Messages In This Thread
RE: Tourguide or walktrough animation - by Moreau - 2019-12-23, 12:22

Forum Jump:


Users browsing this thread: 3 Guest(s)