Thanks for query,
it is possible that due to hard heat you might got torn injury
to muscles and ligaments,
Even you might have haematoma
Go for X ray
knee and find out the cause.
Take anti inflammatory and antibiotic medicines.
Consult orthopedic and seek advice.
Ok and bye.