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.
[10:06 pm]
Zoan -- how do i get minerals
[11:45 pm]
ClansAreForGays -- Anyone wanna played Skewed StarCraft?
[2026-4-14. : 12:07 am]
Vrael -- NudeRaider
NudeRaider shouted: Vrael ranting still is though
you're a gentleman and a scholar, thank you
[2026-4-13. : 10:07 pm]
NudeRaider -- ya why phone people when you can just write letters
[2026-4-13. : 9:37 pm]
IskatuMesk -- I have never and will never own a phone
[2026-4-13. : 9:15 pm]
NudeRaider -- Vrael ranting still is though
[2026-4-13. : 9:14 pm]
ClansAreForGays -- anticapitalism isnt edgy anymore
[2026-4-13. : 3:31 pm]
Vrael -- it only costs 50% of my post-tax salary for life and in return I get to also become a drone whose sole purpose is CAPITALISM
[2026-4-13. : 3:30 pm]
Vrael -- pssht, you're still using a phone? I just record 100% of my life using my ElonBrainChip
[2026-4-13. : 2:13 pm]
NudeRaider -- bro I don't go anywhere without my phone to record anything significant
Please log in to shout.


Members Online: Prankenstein