Create a rotating collectible

Tutorial

·

foundational

·

+10XP

·

25 mins

·

3450

Unity Technologies

Create a rotating collectible

Summary

Language

English

1. Overview

2. Add a collectible GameObject in front of the player

3. Create and apply a new Collectible script

4. Review the structure of the default script

5. Plan your rotation code

6. Add your first line of code to rotate the collectible

7. Reduce speed to a decimal float value

8. Declare new rotation speed variable

9. Review and proceed to next tutorial

Complete this tutorial