Alienhead Posted April 28, 2025 Posted April 28, 2025 Seems to be missing - local tbl = terrain:GetLayers(x,y) local matID = terrain:GetLayerMaterial(tbl[1]) log(mat) Quote Alienhead Components and Software
Josh Posted April 28, 2025 Posted April 28, 2025 It's Terrain:GetLayers() actually. It will return a list-style table with up to four material indexes. Quote Let's build cool stuff and have fun.
Alienhead Posted April 28, 2025 Author Posted April 28, 2025 That I figured out, but I keep erroring on GetLayerMaterial Quote Alienhead Components and Software
Josh Posted April 28, 2025 Posted April 28, 2025 Adding this now... 1 Quote Let's build cool stuff and have fun.
Solution Josh Posted April 29, 2025 Solution Posted April 29, 2025 The fix is available now. 1 Quote Let's build cool stuff and have fun.
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.