Bugfixed, using distance in meters to be

coherent
This commit is contained in:
Daniel Santos-Olivan 2020-06-26 17:50:15 +02:00 committed by Marc Garcia Puig
parent 3902c256da
commit 6f6cf65dd2
1 changed files with 1 additions and 1 deletions

View File

@ -127,7 +127,7 @@ void ARayCastLidar::ReadPoints(const float DeltaTime)
float ARayCastLidar::ComputeIntensity(const FVector &LidarBodyLoc, const FVector &XYZ, const FHitResult& HitInfo) const
{
const float Distance = XYZ.Size();
const float Distance = 0.01f * XYZ.Size();
const float AttenAtm = -0.004;
const float IntEm = 1.0f;