Now returns object physics layer in shape cast result

This commit is contained in:
Antoine Pilote
2024-08-10 18:39:28 -04:00
parent 4dd1a4e6f7
commit e7d6ca19b0
4 changed files with 29 additions and 8 deletions

View File

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