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.
[12:18 am]
l)ark_ssj9kevin -- for terran and protoss
[12:18 am]
l)ark_ssj9kevin -- maybe the 2nd expansion introduces air units that only hit ground units
[12:18 am]
l)ark_ssj9kevin -- brood war was medic valkyrie lurker devourer dt corsair? the theme was antiair
[06:21 pm]
KrayZee -- The gold minerals and purple vespene gas
[2025-3-16. : 9:54 am]
NudeRaider -- someone could just make it a mod
[2025-3-15. : 9:37 pm]
Ultraviolet -- would be pretty sweet, dunno how much i want to tease myself with imagination tho
[2025-3-15. : 2:39 pm]
l)ark_ssj9kevin -- mercenaries race o_o
[2025-3-15. : 2:42 am]
Oh_Man -- what units would u want to see in a second SC1 expansion? Green Archon? Terran Viking? Baneling?
[2025-3-15. : 2:41 am]
Oh_Man -- Blizzard should go the WoW classic route - give us a second expansion for Starcraft 1!
[2025-3-14. : 4:54 pm]
l)ark_ssj9kevin -- I ended up buying it :(
Please log in to shout.


Members Online: Oh_Man, jun3hong