Obstacle Course - pretty proud of this

My Obstacle course. I added a challenge for myself on this, wanted to have an object not only falling, but bouncing up and down. My solution:

  • adding 2 planes the top one having the mesh removed.

  • added box colliders instead of mesh, so the objects won’t fly through the floor.

  • Had one tag, one for going up, one for going down.

  • Had a OnColissionEnter method that would send objects up or down based on the tag they had. Each collision would change the tag.


Privacy & Terms