Hi Everyone,
I have a pretty firm knowledge of Playmaker however I am having a problem with a camera lock on idea.
Basically I want my
3rd person camera that I have working perfectly fine to move higher over the player and include in the frame at all times the locked on enemy.
Game layout in steps:- Player walks up to enemy (third person camera)
- Enemy runs up to Player *Breaks distance barrier*
- Player's Camera, lifts up higher to include enemy and player in frame
- player runs out of distance barrier or kills enemy.
- reset camera position. repeat from step one.
The camera system I imagine is quite similar to that found in the Batman Arkham games, 3rd person to lifted 3rd person with enemies included.
The hard part I can't figure out is how to raise the camera based of the position.
Would I use a blank game object - with a find gameobject "enemy" tag, then set a look at to look at enemy while raycasting for a test distance, and then set a float to test if it's under a certain value trigger camera to raise...
I hope someone understands what I mean.
Cheers and hope to help out the community here too with your own questions!