somebody know ?
solved:
FRotator rot;
rot.Pitch = 0.0f; rot.Roll = 0.0f; rot.Yaw = 70.0f; // Sunrise
// rot.Pitch = 0.0f; rot.Roll = 0.0f; rot.Yaw = -70.0f; Sunset
Sun->AddLocalRotation(rot);
somebody know ?
solved:
FRotator rot;
rot.Pitch = 0.0f; rot.Roll = 0.0f; rot.Yaw = 70.0f; // Sunrise
// rot.Pitch = 0.0f; rot.Roll = 0.0f; rot.Yaw = -70.0f; Sunset
Sun->AddLocalRotation(rot);