0
Answered

Locked on camera angle melee

Sam Leitch 2 months ago in Melee updated by Marti (Lead Developer) 2 months ago 1


Hey team,

I am running and adventure camera and my Melee combat is a little sloppy as the camera is right behind the Character and i struggle to see the enemy. I use the lock on from one of the Game Creator 3rd party assets. I would like to be able to see the enemy as i fight them so something like 30-45 degree angle from my camera perspective.

For examples sake see below

or 

Any help would be appreciated!


Regards,

Sam

Unity version:
2019.4.1f1
Game Creator version:
1.1.9
Answered

You can offset the anchor of the player's X component by a certain amount so that the origin of the camera is a bit on the right. The Target camera doesn't work with "angles", but instead, you simply move the origin of the motor a bit on the right and focus on the enemy, thus, making the camera appear like it's a bit rotated from the player's perspective.