In the last post, I covered the creation of the monarch butterfly avatar that players will embody in this VR game/simulation. In this post, I’ll be discussing the development of our avatar’s flight capabilities, using the Nvidia PhysX engine in Unity. As a starting point, it’s important to first understand the basics of how real monarchs—and other butterflies—actually fly.

Butterfly Flight Mechanics, a very brief and simplified primer


Prior to researching this topic, my intuitive sense of how monarchs fly was simple: it’s all about the downstroke. That is, the lift (upward force) and propulsive thrust (forward force) that keep a butterfly suspended in the air and moving forward during standard flight are all generated by the butterfly moving its wings in a fast down- and maybe slightly backward motion, almost like a swimmer generating forward motion by pushing water away in the opposite direction. 

This is not how it works. Downstrokes are important, yes, but upstrokes equally so. The basic picture is that like other butterflies, monarchs generate lift through the downstroke, but thrust is achieved primarily through the upstroke. The flexible wings of a butterfly are what make this possible, as they enable what is called the “clap and fling” mechanism. This is where the butterfly cups its wings together during an upstroke, collecting an air pocket between them, and then claps both wings together at the end of the upstroke, forcing the air pocket to shoot out behind the butterfly and thrusting it forward. 

Clap and Fling

Butterfly Clap and Fling Mechanism. Image source: Johansson L. C. and Henningsson P. 2021, Figure 3;

You can see these mechanics at work in the video below. Importantly, butterflies do not always use the clap and fling mechanism. For example, during takeoff a butterfly might perform a sequence of powerful downstrokes to generate enough lift to bring its body clear of the ground before using the clap and fling to begin moving forward. And, of course, the amount of force generated varies. 

It’s also worth noting that there are many other factors at work here, including, the change in orientation of the butterfly’s body during upstrokes and downstrokes. Moreover, much of this is only true for forward, powered flight, as opposed to hovering, reverse flight, or gliding. I’ll touch on some of this below—particularly gliding, as it is absolutely crucial for migrating monarchs—but this simple forward flight model focused on variegated upstrokes and downstrokes is sufficient for our purposes here.

1 2 3 4