|
Post by tharindu on Apr 23, 2017 10:59:48 GMT
Hi,
I am on the latest version of the Melee Controller. I have not tested this on the shooter because I haven't worked on it yet.
While a target is locked during attack, when I kill it, the camera behaves very strangely doing a 360 of sorts. Can you guys reproduce this behavior too ?
Regards, tharindu
|
|
|
Post by uberwiggett on Apr 23, 2017 12:50:05 GMT
has happened a few times, it's something to do with switching the camera states, happens when the game starts for me, the camera moves to a position then tries to correct itself to the new values smoothly. Not sure which part of the code causes it but I haven't bothered to look yet.
|
|
|
Post by tharindu on Apr 23, 2017 15:54:13 GMT
has happened a few times, it's something to do with switching the camera states, happens when the game starts for me, the camera moves to a position then tries to correct itself to the new values smoothly. Not sure which part of the code causes it but I haven't bothered to look yet. I too felt a lerp in action. It's annoying as hell and very distracting from a player's point of view, so hopefully @invector can take a look at it when time permits. No hurry at all on my end.
|
|
|
Post by shadex on Apr 25, 2017 16:24:37 GMT
has happened a few times, it's something to do with switching the camera states, happens when the game starts for me, the camera moves to a position then tries to correct itself to the new values smoothly. Not sure which part of the code causes it but I haven't bothered to look yet. I too felt a lerp in action. It's annoying as hell and very distracting from a player's point of view, so hopefully @invector can take a look at it when time permits. No hurry at all on my end. I had this problem as well. I believe the solution is, in the camera state for straife (or whatever state your using during lock-on) to limit angle X. I can't tell you the exact values but if i remember correctly it was like -270, 270. It happened when my character was right on top of the enemy and killed him, and there was no other target in range to auto lock-on.
|
|
|
Post by Invector on Apr 25, 2017 16:48:00 GMT
I've experienced this behavior a few times during some tests, but I've never figured out how to reproduce so we can debug and fix it. Probably something do to with distance, try increase the distance of your player x target using navmesh obstacle or increasing the capsule collider to avoid very close distances while lock-on
|
|