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.
[03:35 pm]
Symmetry -- though mine's probably worse
[03:35 pm]
Symmetry -- That certainly sounds similar to what I've made
[06:28 am]
Ultraviolet -- sounds like Bound & Defend
[07:43 pm]
Symmetry -- If you take the reins you damn well be ready to ride
[2026-5-23. : 2:46 pm]
NudeRaider -- you wish
[2026-5-23. : 12:43 am]
IskatuMesk -- Ah, so Reindeer Breeding 3: BDSM edition.
[2026-5-22. : 12:45 am]
Moose -- tbh
[2026-5-20. : 8:27 pm]
Symmetry -- It's a bound map where you cross obstacles to earn units to defend your base
[2026-5-20. : 8:16 pm]
Symmetry -- No, the world isn't ready for that
[2026-5-20. : 5:11 pm]
Zoan -- Reindeer Breeding 3?
Please log in to shout.


Members Online: RIVE, IskatuMesk, O)FaRTy1billion[MM], Symmetry