Staredit Network > Forums > SC2 Assistance > Topic: Camera Troubles
Camera Troubles
Jun 30 2010, 10:04 am
By: (U)Bolt_Head  

Jun 30 2010, 10:04 am (U)Bolt_Head Post #1



Hello All.
I have applied a camera that is set to follow a unit. That works just fine but when my unit goes near the edge of a cliff the camera pans upwards so it is above the cliff. How do I prevent this from happening?

I imagine I could probably use a periodic timer and move the camera manually but when I do this the camera gets really shaky and I'd just rather not use a periodic if I can avoid it.

Thanks for your help.



None.

Jul 1 2010, 7:12 am Devourer Post #2

Hello

As there was no answer for many hours yet I will post what could work but never tested:
always set the camera's distance to X?



Please report errors in the Staredit.Network forum.

Jul 2 2010, 5:47 am (U)Bolt_Head Post #3



Doubt it but i'll try it anyways when I get back home.

I was having trouble with the distance of the camera from the unit when I was having the camera follow the unit as the height changed. Not exactly sure what it was doing but I'd probably have to crack down on the Trig to get it to work correctly.
My guess was that the camera distance or 'lookat' was based on the unit's location on the terrain. (Changing a units height seems to only change the height of the actor)
But instead I created an actor less unit and I ordered it the the same location as my controllable unit.

Someone had mentioned something regarding 'smart panning' in the data editor but I was not able to determine what camera to edit. Once I applied a new camera it I couldn't figure out how change the data editor properties.

Thanks for the reply =)



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[2026-4-29. : 2:00 am]
l)ark_ssj9kevin -- hi jamal
[2026-4-29. : 12:18 am]
Heinermann -- memes
[2026-4-28. : 10:08 pm]
NudeRaider -- skeet-skeet, motherfucker
[2026-4-28. : 4:24 pm]
Vrael -- NudeRaider
NudeRaider shouted: Vrael boy, if you're not careful I'll moderate your sorry ass too!
gotta catch me first! skeet skeet skeet
[2026-4-26. : 1:58 pm]
lil-Inferno -- ya
[2026-4-25. : 11:50 pm]
JamaL -- Glad to see SEN will never die. Kudos to whoever is paying the hosting fees these days!
[2026-4-25. : 3:37 pm]
NudeRaider -- (-.-,)
[2026-4-25. : 3:35 pm]
Zoan -- ;o I thought that was a monkey emote
[2026-4-25. : 3:34 pm]
Zoan -- :mods:
[2026-4-25. : 3:34 pm]
Zoan -- :mods"
Please log in to shout.


Members Online: Zycorax