My 90 day journey becoming a Unity game developer: Day-3

Instantiating a laser from the player’s position.
Laser prefab created.
Adding a rigidbody to prefab, but the instance doesn’t have one.
Prefab fall because of its rigidbody, but the instance stays in place.
Override applied to prefab and instance.
Material added to the Prefab.
Instantiate laser from the player’s position using the laserPrefab variable.
Instantiating a laser from the player’s position.

--

--

--

Learning to become a Unity game developer.

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

Recommended from Medium

S.O.L.I.D. — The Single Responsibility Principle

What Is the Walrus Operator in Python?

Are your engineer’s bees or chickens?

Git and Github. What are they?

Evolution of Encrypted Credentials in Rails 6.2

Evolution of Encrypted Credentials in Rails 6.2

A Brief History of Scrum (Time)

Preventing Rogue Cookies with the Zillow Cookie Checker

Diving into Java (with strong JavaScript and Python background) Part 5(Sample Console App)

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
Rhett Haynes

Rhett Haynes

Learning to become a Unity game developer.

More from Medium

Working with Unity Ads

My journey becoming a Unity game developer: Make a game look beautiful-Door, Frame, and Wall…

2D Mobile Game: Simple Parallax

3D Survival FPS Game