Coin Pickup and Rotation
- Keshav Batra
- Jul 28, 2023
- 1 min read
Now that I've finished my health pickup, I've decided to work on some pickups that add points whenever the player collides with them. For the player colliding with the object, I added an on component begin overlap which then attaches to the player and then contains the target and the score. They're then set to the certain score which in this case is one. For the rotation I added an event tick which attaches to the object. I then added a rotator for the coin and set it to 5 or higher.
Below is a photo and a video
Comments