Godot Version
4.2
Question
Hello I have been trying to rotate 3 different collisions all based off of 1 collision
My node chart looks like this right now, I tried grouping them up in area2d’s but it disabled my collisions making me fall through the floor
$OrenCollisions.rotation = rot
$PlayerSprites.rotation = lerp_angle($PlayerSprites.rotation, rot, 0.5)
if is_on_floor(): #Rotates the collisions and the sprites along slopes
up_direction = get_floor_normal()
rot = slope_steep
else:
if !floor_checker.is_colliding():
grounded = false
rot = 0
up_direction = Vector2(0, -1)
Here is my code for the rotation of the characters collisions and sprite rotation, I have tried applying .rotation = rot, To other collisions but they rotate on there own axis instead


