center
fun center(sprite: Sprite3D, distance: Float = 10.0f, rotation: ERROR CLASS: Symbol not found for Triple<kotlin/Float, kotlin/Float, kotlin/Float> = Triple(-45f, 0f, 0f)): Camera3D
Creates a Camera3D that follows the sprite's center directly.
Return
A Camera3D instance
Parameters
sprite
The sprite to follow
distance
The distance from the sprite center (default 10.0)
rotation
The rotation angles (pitch, yaw, roll) in degrees (default looking from above)