HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

3rd person cam height problem

06-20-2005, 07:37 AM#1
Doomsberg
Hey, i have been using the 3rd person camera that draco and stuff made (thanks guys, its awesome) but in my map the terrain height can change quite severly. One problem that arises is that as the terrain gets higher the camera doesn't, so when u get up a few levels then the camera is like mashed into the terrain which isn't the best thing to look at.

So...does anyone know of some triggers or jass that i can use so the camera keeps at the same height above terrain.

I have tried changing pan to pan with certain height above terrain but that doesn't do anything for some odd reason.

heres a quick sketch of my trigger

loop:
Pan camera for P1 to position of unit005 over 1 second
Lock camera target for P1 to unit005 offset by 000,000
Set camera distance to 1600 over 0.75 secs
Set Height offset to height of unit005 over 0.75 secs
Set camera angle to 45 degrees over 0.75 secs
end loop.

Thanks in advance.
06-20-2005, 01:24 PM#2
Tim.
Here you go: http://www.wc3campaigns.com/showthread.php?t=76055