Tuesday, May 14, 2024
HomeGame DevelopmentEfficient Methods for Creating Moving Frontline Animation in Unity

Efficient Methods for Creating Moving Frontline Animation in Unity


What is a better way to create moving frontline animation in Unity?

Hi, I’m new in the Unity and I’m interested to create a moving frontline map animation for a strategy game.

Here is what I want to do with animation.
Example of frontline animation

Red: Frontline, Green: My Territory, Blue: Enemy Territory

My idea is use “Polygon” and “vertex” to create this animation.

For example, Polygon1 (with multiple vertex) describe “My Territory” and trough animation.
enter image description here

Purple dot: vertex

I can move the position of vertex in each milisec to generate a moving frontline.

Is this a good idea? Or is there any other better option?
I saw a comment that suggest to use “Voronoi Diagram” but which one sounds better?

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments