x


board game camera question

i have made a top view board game and would like to know if there is a camera script that will let me zoom in and out and move from side to side and top to bottom. Any help will be a apreciated

thank you

Wayne

more ▼

asked Jul 28 '11 at 09:56 PM

wayne57 gravatar image

wayne57
43 12 29 35

That is so trivial, yet application specific, I would guess not. Best to have a go at implementing it yourself, then ask for help if you can't get it to work. Be sure to say precisely how you want the Camera to behave in response to the mouse.

Jul 28 '11 at 10:33 PM Waz
(comments are locked)
10|3000 characters needed characters left

1 answer: sort voted first

What you're describing could be handled by a basic movement script attached to your camera and will depend on how you want to control it (i.e. mouse? keyboard? something else?), assuming you're using a non-orthographic camera. You could even stick a character controller on the camera and use the Move function. Search for movement tutorials and movement related questions on here/on Google and you'll quickly be on your way.

If you're using an orthographic camera, you'll have to play with the viewport size.

more ▼

answered Jul 28 '11 at 10:29 PM

Chris D gravatar image

Chris D
2.5k 5 7 25

(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x69
x13
x5

asked: Jul 28 '11 at 09:56 PM

Seen: 603 times

Last Updated: Jul 28 '11 at 10:33 PM