HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Cameras and Regions

10-14-2004, 12:20 PM#1
Xaran Alamas
Sorry, couldn't think of a better title.
Anyways here's what I'm trying to do: I have two regions which are identical and I have triggers to set the camera bounds to one or the other region. The problem is that the camera hits the side of the new camera bounds closest to where it was before. What I want to do is set the target of the camera to the same coordinates within the second region as it's target was in the first region.

If I'm not describing it well say so and I'll try and do better :)

Thanks
10-14-2004, 12:36 PM#2
a thing
Pan the camera to the center of the region.
10-14-2004, 12:53 PM#3
Xaran Alamas
That's not what I want. Let me do a diagram:
If I have camera C in the position in region 1 I want it to go to the corresponding coordinates inside region 2, like in this diagram.

Region1 Region2
XXXXXX XXXXXX
XXXXCX XXXXCX
XXXXXX XXXXXX
XXXXXX XXXXXX
XXXXXX XXXXXX
10-14-2004, 01:48 PM#4
Dead-Inside
Make it offset to the same position but with the X set to +200 (Or whatever space you have between REgion1 and Region2, from point to point).

Hope you got it, that's how to solve it anyway.
10-14-2004, 02:34 PM#5
Xaran Alamas
Hmm thanks yeah that helps.