So I was watching the Creator Show, and I got an idea, maybe there should be a boolean in the Terrain object that allows CrackedLava to kill players? This would be way more efficient then having hundreds of transparent killing parts placed all over the lava.
You can detect that a player is walking on lava by raycasting.
Wouldn’t this make it easier for newer players though?
This will only cause clutter. It is really easy to check the material and common pratice in video games, so I don’t get why we need a boolean for that…
Newer players that know nothing of scripting don’t know how to use raycasting I’m afraid
Template places are designed for new players. Perhaps those should include lava kill scripts.
Then they should learn.
We can’t just clutter everything with booleans and properties for new players. Sure, simplifying an API so that it isn’t overly confusing is all fine and dandy, but there comes a point where you sacrifice organization and power for it.
We shouldn’t have to dumb everything down to that level just because newer players don’t know. Then they should learn if they want to do it.
By your logic of people not knowing how to raycast, then why don’t we all just dumb down pathfinding and everything else?
I’d personally want the lava texture to be animated and glowing over it killing.
Ultimately I think the terrain property should not include everything from the base part. Main things being the surface and other properties and it should include things like this idea instead.
Terrain inherits from BasePart for API function and internal reasons.