Damage VFX using Animated Sprites in Unity

  • Create an engine animation
  • Rename the sprite in hierarchy to LeftEngineDamage
  • Duplicate and rename to RightEngineDamage
  • Place both as children in Player gameobject
  • Place the Left and Right Engine damage gameobjects in a good place in player. Set their scale as desired.
  • In the player script, create a reference for both gameobjects
  • Deactivate them in Start ( )
  • Activate LeftEngineDamage if lives == 2 and RightEngineDamage if lives == 1




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

Recommended from Medium

An Introduction to Networking

SimpleRTApp: Posting tweets thought notifications with iOS custom actions

Working with Docker, Google Cloud Instances and Spring Boot

Moving from REST to GraphQL

DFINITY 2019 — Community Review

WBS and Product Backlog: cousins that you don't invite for the same barbecue.

How to Easily Perform Pandas Operations on S3 With AWS Data Wrangler

Logarithms and Binary Trees

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
Hernando Nieto Jaramillo

Hernando Nieto Jaramillo

Unity developer

More from Medium

Cyberclassic NFTs Traits

The truth of Babylon DAO

LIVE at the Arboretum! With Dave Forehand and Guy Bruggeman

Shhh — Our New Product’s Private BETA is Live