AnswerBun.com

How can I make particles move like a square in Unity?

Game Development Asked by MagikarpSama on December 21, 2021

I would like to implement something like this in Unity:

enter image description here

I searched for how to implement such a functionality but only found stuff for circles which does not work with box shapes. How can I implement this?

One Answer

Create a particle system as a child of the sprite. Set it to create particles in world space, so spawned particles don't move when the system itself moves. That creates a "trail" effect like you see here.

Then create a looping timeline to create an animation to move the position of the particle effect around the sprite in any paths you want. A timeline can also be used to control any other settings of particle effects over time, which allows you to sequence some really neat choreographies for them.

Answered by Philipp on December 21, 2021

Add your own answers!

Related Questions

How do i draw a ray in unity

1  Asked on January 7, 2022 by levent

   

testPoint not working – libgdx

1  Asked on January 5, 2022 by ngc-qu-nguyn

   

C# Increase move speed for spawned objects

1  Asked on January 5, 2022 by jenkatan29

   

Rotate vector by matrix?

2  Asked on December 29, 2021

         

Finding all possible paths from one hexagon to another

3  Asked on December 25, 2021 by vitozz_rdx

 

Unity : apk vs aab for the same scene

0  Asked on December 23, 2021

   

Unreal Engine custom camera

0  Asked on December 23, 2021

     

(Tiled) Background stops being rendered in libGDX

1  Asked on December 21, 2021 by xmac

     

Ask a Question

Get help from others!

© 2023 AnswerBun.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP