Function in ldk_camera.h

ldk_camera_look_at

Orient a camera entity so it looks toward a world-space target.

LDK_API bool ldk_camera_look_at(
 LDKEntity entity,
 Vec3 target
);

Parameters

LDKEntity entity
Entity to inspect or modify.
Vec3 target
Target used by this operation.

Returns

True if the operation succeeds; false otherwise.