- What do you want to achieve?
Ray cast procedurally generated terrain
- What is the issue?
If for example I do
game.Workspace.Terrain:FillBall(Vector3.new(12, 30, 12), 7, Enum.Material.Sand)
and next do a ray cast trough this terrain, it’s not registering a hit. But if I put
wait(3) between, then it registers the hit.
- What solutions have you tried so far?
Haven’t found any real solutions, as there is no callback when generated terrain is ready / processed properly, so it can be picked up by, for example, raycast.