PlayMaker Help & Tips > PlayMaker Help
Touch control to make camera rotate around an object?
(1/1)
derkoi:
Hi all,
I'm making a mobile car game and on the car selection screen I'd like the play to be able to move their finger around the screen to pan the camera around their car (this is on many mobile racing games).
Any ideas how I'd tackle this? I've bought the input touches package so I'm thinking I'd need to use that?
I'm thinking of placing an empty game object in the center of the screen with a camera as a child object looking at it from a distance, then rotate the empty object using input touches?
jeanfabre:
Hi,
Yes, you are on the right path: parent your camera with a dummy, then control the dummy. This is the most direct approach.
bye,
Jean
Navigation
[0] Message Index
Go to full version