I'm trying to get the normal of a rock terrain and spawn something on it. Is that possible?
Nvm.. found it. For anyone who is curious about this:
1 | local ray = Ray.new(origine, direction) |
2 | local part, pos, normal = workspace:FindPartOnRay(ray, part, false , false ) |