How to align 3D movement with camera?

Godot Version

4.2.1

Question

Im hoping this is a simple fix, I just want to make my movement align with the 3D movement of the camera. I have an isometric view but it is moving like it is just a normal 3rd person view, also to note I am a somewhat beginer.

extends CharacterBody3D

var speed = 75
var acceleration = 105
var deceleration = 1000
var axis = Vector3.ZERO


func _physics_process(_delta):

	axis.z = Input.get_action_strength("mvLeft")-Input.get_action_strength("mvRight")
	axis.x = Input.get_action_strength("mvBackward")-Input.get_action_strength("mvFoward")
	
	axis = axis.normalized() * speed

	velocity = velocity.lerp(axis, 0.1)

	move_and_slide()