Godot Version
4.2
Question
How to write code that will make characterBody3Ds able to push each other? I tried this but not too successful.
func _physics_process(delta):
var collision = move_and_collide(velocity * delta)
if collision:
var collider = collision.get_collider()
if collider.is_in_group("player_2"):
print(collider.name)
collider.velocity.x = velocity.x