Raycasts now returns the body instance it collided with + serialize spot light cones

This commit is contained in:
antopilo
2024-10-18 00:21:08 -04:00
parent 4e0817b761
commit 39cf28c91e
6 changed files with 42 additions and 13 deletions

View File

@@ -73,6 +73,7 @@ namespace Nuake {
results.push_back(hit.ImpactNormal.z);
results.push_back(hit.Fraction);
results.push_back(hit.Layer);
results.push_back(hit.EntityID);
}
return Coral::Array<float>::New(results);