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
) »
Camera to focus on object [SOLVED]
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: Camera to focus on object [SOLVED] (Read 1381 times)
Maddy
Playmaker Newbie
Posts: 34
Camera to focus on object [SOLVED]
«
on:
July 03, 2020, 02:05:13 AM »
I'm using Lean Touch for pinching and dragging. HOG for mobile.
I have a hint button to highlight an object when the player is stuck.
My problem is, when the player is zoomed in or a different area is visible, how do I get the camera to focus on the hinted object if the hinted object is out of view?
Thank you for any help!
«
Last Edit: July 04, 2020, 10:46:45 AM by djaydino
»
Logged
I'm an artist with poor memory and brain fog trying to make a game. Please wish me luck! :-D
heavygunner
Sr. Member
Posts: 344
Re: Camera to focus on object
«
Reply #1 on:
July 03, 2020, 02:08:13 AM »
Save hinted object in a variable.
Use "Smooth follow action" on camera and set hinted object as target
Logged
jeanfabre
Administrator
Hero Member
Posts: 15620
Official Playmaker Support
Re: Camera to focus on object
«
Reply #2 on:
July 03, 2020, 02:12:38 AM »
Hi,
I use Cinemachine a lot and it has all the feature to create complex camera movement, with rules such as what you are looking for, aiming on target objects, etc etc.
I would give it a go, it's very powerful indeed.
Bye,
Jean
Logged
Maddy
Playmaker Newbie
Posts: 34
Re: Camera to focus on object
«
Reply #3 on:
July 04, 2020, 05:58:27 AM »
Thanks for your help heavygunner and Jean, Set Position seemed to work!
Logged
I'm an artist with poor memory and brain fog trying to make a game. Please wish me luck! :-D
Print
Pages: [
1
]
Go Up
« previous
next »
Playmaker Forum
»
PlayMaker Help & Tips
»
PlayMaker Help
(Moderator:
600
) »
Camera to focus on object [SOLVED]