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
) »
Smooth Follow Action - Rotation Issue
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: Smooth Follow Action - Rotation Issue (Read 2930 times)
intrikit
Full Member
Posts: 132
Smooth Follow Action - Rotation Issue
«
on:
October 08, 2013, 02:40:53 AM »
I am making a side scroller with a camera that should follow the player horizontally, as with classic platformers out there. I used the Smooth Follow Action on my camera and applied a gameobject which is a child of my actual player (and placed appropriately so that there is no weird transition when I change the horizontal direction) and used that as the Target Object. Then I set the Rotation Damping to zero so that there is no camera rotation.
This all works pretty well aside from an extremely slight twitch when changing direction but is a thorn to the side of the perfectionist in me as well as a warning in the console saying "Look rotation viewing vector is zero". Should this be a concern and if it is, does anyone have alternative methods?
Logged
jeanfabre
Administrator
Hero Member
Posts: 15500
Official Playmaker Support
Re: Smooth Follow Action - Rotation Issue
«
Reply #1 on:
October 08, 2013, 03:08:23 AM »
Hi,
you need to have a look at target that is not at the same position as the follower, else it doesn't know where to look. So try to add an offset to your target so that there is always a distance between your player and the target.
bye,
Jean
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
Playmaker Forum
»
PlayMaker Help & Tips
»
PlayMaker Help
(Moderator:
600
) »
Smooth Follow Action - Rotation Issue