How do I get my character to collide with an object, he dies, and respawnee at the beginning of the map?
I'm making a 2d game but I can't get my character to die, help
Answer by Tehemus · May 09, 2020 at 06:18 PM
Your question does not match the unity answers guidelines, you are not specific enough.
If you want us to help you on your code, try to do something and post it here at least. If you want general guidelines, you shouldn't rely on this forum but use your capacities, you will learn a lot with trial and error.
But here is a starting point : you can use "onTriggerEnter" or "onCollisionEnter" and change the character position from here.
Your answer
Follow this Question
Related Questions
Can't make the player attack an enemy 0 Answers
Soccer game, more realistic net 1 Answer
How To Make A Character Stop At A Block? 0 Answers
Scripting trouble, Float on Collision/collision open gate 2 Answers
Select Object And Spawn it 1 Answer