Create 3D Collectables In Unity

Today I am creating floating coin collectables for my new 2.5D platformer.

A coin collectable worth 1 point
A coin collectable worth more than 1 point

Today’s Objective: Create a simple coin collectable for my new 2.5D platformer game.

The Code:

Create a new C# script called something like “Collectable”.

Create the variables which will control the collectable’s behavior.
Calculate and apply the movement changes to the collectable
Floating and spinning
When the player touches it, collect the collectable
Collection by the player

A simple and very nice looking collectable for any game: Complete!

--

--

--

Unity game developer / C# Programmer / Gamer. Australian (Tasmanian) indie games developer for 10+ years. Currently looking for games industry employment.

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Add Robots.txt to your Django App

Outsourcing in Latin America: 9 Questions Every Business Should Ask About Nearshoring Software…

Tips for running Kubernetes cluster on Raspberry Pi

Makefiles for C/C++ projects

FIBONACCI PRIME COMPOSITE USING C++!!!

Scalding makes MapReduce easier!

Starcoin Weekly【 8.16–8.22】

Summary of the AWS Solutions Architect Associate Exam

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
Vincent Taylor

Vincent Taylor

Unity game developer / C# Programmer / Gamer. Australian (Tasmanian) indie games developer for 10+ years. Currently looking for games industry employment.

More from Medium

Creating An Advanced 2D Player Controller Without Any Unity Components! (Part 4)

Using Decals in Unity

Layering Materials In Unity

Unity : Raycast (Part I)