Fix selecting spline points

#409
This commit is contained in:
Wojtek Figat
2021-03-30 22:27:24 +02:00
parent ece77065ca
commit 77f9716932

View File

@@ -367,6 +367,15 @@ namespace FlaxEditor.SceneGraph.Actors
}
}
/// <inheritdoc />
public override bool RayCastSelf(ref RayCastData ray, out float distance, out Vector3 normal)
{
// Select only spline points
normal = Vector3.Up;
distance = float.MaxValue;
return false;
}
/// <inheritdoc />
public override void OnDispose()
{