Boolean for Terrain that allows lava to kill players

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.

1 Like

You can detect that a player is walking on lava by raycasting.

2 Likes

Wouldn’t this make it easier for newer players though?

1 Like

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

1 Like

Template places are designed for new players. Perhaps those should include lava kill scripts.

5 Likes

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.

3 Likes

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.

2 Likes

Terrain inherits from BasePart for API function and internal reasons.