I'm trying to make the camera follow a point with an offset above a unit. Is there any way to make this happen?
As you can see on this screenshot the UI covers a bit of the screen making it hard to view the southern part of the game. This makes a nuisance when enemies attacks from below and it also look ugly.
I want the camera to be follow the red dot, and to move accordingly to where my hero unit moves.
Wouldn't you want it to follow a point below the unit? If you follow a point above you're just exacerbating the problem you're trying to fix? Maybe I misunderstood.
I'm trying to make the camera follow a point with an offset above a unit. Is there any way to make this happen?
As you can see on this screenshot the UI covers a bit of the screen making it hard to view the southern part of the game. This makes a nuisance when enemies attacks from below and it also look ugly.
I want the camera to be follow the red dot, and to move accordingly to where my hero unit moves.
You can use pan camera in a loop. The pan position would be point with polar offset.
@Mille25: Go
Wouldn't you want it to follow a point below the unit? If you follow a point above you're just exacerbating the problem you're trying to fix? Maybe I misunderstood.
I'll try the loop thing when I get home. Thanks.
Appolys, your right ofcourse. My mistake.
@njordys: Go
Ok, in that case the angle you want to use is 270 degrees, just in case you weren't sure how the editor measures them.