37 Unity Power Ups Explained | Enemy Knockback, Collisions & Force

Опубликовано: 02 Май 2026
на канале: Sudheendra S G
33
2

00:00 Intro: Power-Ups + Countdown Goal
00:30 Project Setup: Continue or Start Fresh (URP 3D)
01:02 Download Files: UnityPackage + Layout (Patreon)
01:27 Cleanup + Load Custom Layout (Sathvick Layout)
02:06 Import UnityPackage + Open Scene
02:43 Create Power-Up Object (Pickup + Transform + Scale)
03:34 Add Trigger Collider + Create “PowerUp” Tag + Prefab
04:34 Player Script: hasPowerUp + OnTriggerEnter Collect
07:41 Enemy Tag + OnCollisionEnter Logic
12:10 Knockback: AddForce (Impulse) + Direction Vector
15:18 Fix Enemy Spawn: Safe Radius with do–while Loop
19:15 Next Session Preview: Timed Power-Up (Coroutine)

Get free resources for this course from the below patreon link

  / 145923169  

Finished Games can be tested with the link below

https://play.unity.com/en/user/414168...

In this 37th Unity Junior Programmer Series session, we add a Power-Up system to our game and make the gameplay way more fun and dynamic. After collecting the power-up, the player becomes super strong and enemies will fly away on contact using Unity Physics!

✅ What you’ll learn in this video:

How to import the session package and set up the project

How to create a Power-Up pickup object (Collider + IsTrigger)

How to create and use Tags like PowerUp and Enemy

How to detect pickups using OnTriggerEnter()

How to detect enemy hits using OnCollisionEnter()

How to apply knockback using Rigidbody.AddForce() + ForceMode.Impulse

How to fix enemies spawning near the player using a do–while loop

What’s coming next: Countdown timer + Coroutine (time-limited power-up)

📌 Project Files (Patreon):
Scroll down → Click More → Use the Patreon link in the description to download:

37 Power Up Countdown Start.unitypackage

sathvick_layout.wlt

🎮 This session continues from our “enemies chasing the player” gameplay and introduces a real gameplay mechanic used in many arcade and action games.

If you found this useful, like, subscribe, and comment “PowerUp” so I know you completed the session! 🚀

#Unity #GameDev #UnityTutorial #PowerUps #Physics #CSharp #IndieGameDev #JuniorProgrammer #UnityBeginner #GameMechanics