playMaker
Home
Store
Showcase
Tutorials
Forums
Manual
Wiki
About Us
Playmaker Forum
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Join our
Discord Channel
Home
Help
Search
Login
Register
Playmaker Forum
»
PlayMaker Help & Tips
»
PlayMaker Help
(Moderator:
600
) »
Touch control to make camera rotate around an object?
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: Touch control to make camera rotate around an object? (Read 2332 times)
derkoi
Full Member
Posts: 187
Touch control to make camera rotate around an object?
«
on:
November 08, 2012, 05:21:27 AM »
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?
Logged
jeanfabre
Administrator
Hero Member
Posts: 15500
Official Playmaker Support
Re: Touch control to make camera rotate around an object?
«
Reply #1 on:
November 08, 2012, 05:28:18 AM »
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
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
Playmaker Forum
»
PlayMaker Help & Tips
»
PlayMaker Help
(Moderator:
600
) »
Touch control to make camera rotate around an object?