@Joe_Swanson, you are rotating your character in this place every frame:
This fights the “aiming” system, because both these systems want to rotate your Player to different angles. You need to disable one when the other one is active - even a simple if statement should suffice for now.
Hey, the Look_at(), still wasnt working cause it didnt just affect the rotation.y but I figured it out with this:
var _closest_target = _look.get_closest()
var direction : Vector3
if _closest_target:
direction = global_position.direction_to(_closest_target.global_position)
if just_aimed and _closest_target:
direction.y = 0.0
_skin.rotation.y = lerp_angle(_skin.rotation.y, Vector3.FORWARD.signed_angle_to(direction, Vector3.UP) + PI, 0.2)
Thx for all the help with the area3D code and stuff btw.