CollisionShape and Billboard Sprite3D

Godot Version

4.2 Stable


Help me. I want to make a collision for Sprite3D, but the idea is that the sprite is watching the player, that is, I have the Billboard flag on the sprite, because of this I can’t make a collision properly. Is there any way to rotate the collision shape so that it will always be on the sprite or somehow make the collision from the texture itself?

It might be a better idea to use a “round” collision shape, such as a sphere, cylinder, or a capsule.

But if rotating the collisions shape really is the only option, try rotating the Area3D / CollisionShape3D node manually using a look_at:

func _process(delta):
    var target_pos = ... # Your target position to look at, player/camera/?

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.