tweak: changed camera offset

This commit is contained in:
Sara 2024-09-19 11:36:15 +02:00
parent 2882eca44f
commit ee825527d0

View file

@ -28,7 +28,7 @@ Scene *CreateInitialScene() {
// set camera parent offset
transformable = TC_CAST(camera_parent->entity, Transformable);
transform = transformable.tc->get_transform(transformable.data);
transform.translation = (Vector3){-3.f, 3.f, -10.f};
transform.translation = (Vector3){3.f, 4.f, -10.f};
transform.rotation = QuaternionFromEuler(7.5f * DEG2RAD, 0.f, 0.f);
transformable.tc->set_transform(transformable.data, transform);
// create the camera and attach it to the dedicated transform node