Skip to content

Commit b8150a5

Browse files
Merge pull request #232 from PaperPrototype/patch-1
Fixed bug with Raycast
2 parents c9508ea + 51ac6ed commit b8150a5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Prowl.Runtime/Physics/RaycastHit.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,6 @@ internal void SetFromJitterResult(DynamicTree.RayCastResult result, Double3 orig
6464
Transform = Rigidbody?.GameObject?.Transform;
6565
Normal = new Double3(result.Normal.X, result.Normal.Y, result.Normal.Z);
6666
Distance = result.Lambda;
67-
Point = origin + direction * Distance;
67+
Point = origin + (direction * Distance);
6868
}
6969
}

0 commit comments

Comments
 (0)