Make camera never fall.
FIXED: Check the answer of Salmjak
I have this ball that goes up when you press a button and falls down with gravity. The camera should follow the ball when it's going up (like as if it's the child of the ball gameobject), but when the ball starts falling from gravity then I want the camera to freeze in that position and NOT fall with the ball.
How should I do it?
I'm perplexed and can't seem to find a solution for this, i've been working on it for a while but no answers :/
Thanks !
@salmjak, you should make that an answer. I'd upvote it.
Answer by Salmjak · Feb 16, 2016 at 08:55 AM
Make a camera script that follows the object, but only for positive y's. Something like: if(newPos.y > transform.position.y){ FollowBall()}
Your answer
Follow this Question
Related Questions
Sharing ints,Camera position(MOba),warnings,Could loop a fuction in start??? 0 Answers
Help about understanding ceratin command problem 1 Answer
How to Parent a Camera to the Head Bone with No Camera Shake? 0 Answers
Help with setting up 2D auto scrolling camera using Cinemachine 1 Answer
Making camera follow and rotate player 0 Answers