Nerd For Tech
Published in

Nerd For Tech

Pitfalls in Unity

In the game I am working on there are holes that the player will fall in if they miss time a jump. I have created a simple system to allow the player to get out of these holes.

I did this by adding a collider to the bottom of the holes and having the player's position be set to the starting position.

This will have the player transported to the start every time they fall in a hole.

--

--

--

NFT is an Educational Media House. Our mission is to bring the invaluable knowledge and experiences of experts from all over the world to the novice. To know more about us, visit https://www.nerdfortech.org/.

Recommended from Medium

Why everybody talks about TDD, but actually noone does it?

Apache Cassandra Collections and Tombstones

#freestockphoto (Tuesday 24th 02PM)

Programming Rules

Introducing MassBit Community Economy

Compiler-generated classes, methods and fields in Java

Golang app in a container with hot reload and dynamic local package

HOW TO PLAY THE MUSICAL NOTES ON THE ARDUINO

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Matthew Clark

Matthew Clark

Unity Game Developer and C# Programmer

More from Medium

Unity : Cinemachine and Timeline (Part II)

Creating a “negative” powerup

Light Probes in Unity

P4: Creating a Gritty Office Den