PDA

View Full Version : How to: Allow the player to tilt the camera using the pad.



merkaba48
03-02-2011, 12:40 AM
A simple one this, it hardly even needs an explanation:

http://i.imgur.com/2BtXg.jpg

In this setup the pad's tilt will angle the camera. Each camera has the same zoom and track player settings; the only difference is the tilt. Left camera tilted left, right tilted right, etc. The centre camera is looking straight-on. Each input type is set to 'Activation Scale'.

It's pretty nifty, works well in my level.

You could use this exact set-up for the analogue sticks also. To use the D-pad or any other of the binary buttons you'd probably want to figure out a way to 'save' the analogue value, e.g. using a timer.

An alternate use for this could be to put a roll on the two side cameras and use the pad to control a motorcycle game.

*Info update from Aya024*

"Worth noting there's a 'bug' with Activation Scale such that the new camera settings affect all players in an online multiplayer game, instead of just the one(s) in range of the camzone"

Jayhawk_er
03-02-2011, 03:16 AM
Ooh I was actually looking for a way to do that, but gave up on the level idea, but that still is pretty handy.

Aya042
03-02-2011, 05:31 PM
Each input type is set to 'Activation Scale'.

Worth noting there's a 'bug' with Activation Scale such that the new camera settings affect all players in an online multiplayer game, instead of just the one(s) in range of the camzone, so it's perhaps slightly less useful than you might think.

merkaba48
03-05-2011, 01:33 PM
Oh, that is certainly good to know. I'll update the original post with that info. It doesn't matter with my level thankfully, as playing in multiplayer messes the level up anyway (Single player puzzle level)