Hi everybody, I want some help to make a player death script (using lava on my platformer), but with
Unity Bolt.
DO NOT USE ANSWERS ABOUT C#. So please tell me HOW to make player death (when touching lava, and WITHOUT enemies), and using BOLT script.
(hint: it is bolt, and it’s free). If you’re using some older version, I suggest you switch to Unity’s up to date bolt. It is owned by Unity. This is done for you with package manager.
As hippocoder already politely tried to tell you, bolt and Unity Visual Scripting are the same thing. Unity acquired bolt some time ago. They renamed it to Unity Visual Scripting and it is free. It is an upgrade, not a downgrade.
If you don’t want to take that advise that’s totally up to you, none is forcing you. but you don’t have to go caps locking towards someone that’s trying to help you. I would’ve given you the same advise for that matter. Please answer in a polite manner. If you don’t then there is a chance that people are less likely to help you.
From your question I’m assuming you are using a 2D game, then try using a Box Collider 2D with Is Trigger checked on the Lava sprite and a OnTriggerEnter2D or OnTriggerStay2D for triggering a damage animation/action.
This should be enough as a “Hint” to your problem.