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
) »
Auto Adjusting Camera Movement for Click to Move Game
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: Auto Adjusting Camera Movement for Click to Move Game (Read 1233 times)
jethdaflip
Playmaker Newbie
Posts: 2
Auto Adjusting Camera Movement for Click to Move Game
«
on:
January 30, 2019, 01:42:47 AM »
I'm making a Top Down Click to Move game where the Camera moves and rotates based on where the player is, kind of like in this (
//www.youtube.com/watch?v=6GAYMBl2mOU
), but mainly for point and click game.
I've been trying to figure out how to do a FixedUpdate to Smoothly follow a player and adjust height like in this video (
//www.youtube.com/watch?v=JnRB_GDW6CU
). How would I do this in Playmaker where the Camera adjusts itself when a wall or obstacle is in the way.
Can anyone explain how this works? (
//www.youtube.com/watch?v=zF5t0DOCJAs
). I tried doing it, but I got stuck.
What does the "Update Camera" and "Check Player" do in the video?
Logged
jeanfabre
Administrator
Hero Member
Posts: 15500
Official Playmaker Support
Re: Auto Adjusting Camera Movement for Click to Move Game
«
Reply #1 on:
January 30, 2019, 02:27:25 AM »
Hi,
for this, you should learn Cinemachine, it will give you all the tools to do exactly that without coding or PlayMaker, with obstacle avoidance if its obstruct the camera target, etc etc.
https://unity3d.com/learn/tutorials/topics/animation/using-cinemachine-getting-started
https://docs.unity3d.com/Packages/com.unity.cinemachine@2.1/api/Cinemachine.CinemachineCollider.html
You can get the playmaker support for Cinemachine on the Ecosystem if you need to control it or get feedback from it.
Bye,
Jean
Logged
Groo Gadgets
Beta Group
Full Member
Posts: 175
Re: Auto Adjusting Camera Movement for Click to Move Game
«
Reply #2 on:
January 30, 2019, 07:27:09 AM »
You beat me to it Jean!
Cinemachine is a total lifesaver! I used to create my own camera rigs in Playmaker now with Cinemachine it does nearly all the heavy lifting for me :-)
Cheers,
Simon
Logged
jeanfabre
Administrator
Hero Member
Posts: 15500
Official Playmaker Support
Re: Auto Adjusting Camera Movement for Click to Move Game
«
Reply #3 on:
February 01, 2019, 04:32:06 AM »
Hi,
yeah, Cinemachine is a true revolution in the intuitive camera setup, quite amazing!
Bye,
Jean
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
Playmaker Forum
»
PlayMaker Help & Tips
»
PlayMaker Help
(Moderator:
600
) »
Auto Adjusting Camera Movement for Click to Move Game