Start with two null objects, these can be tracked in manually or using one of the various tracking features in After Effects.
Make sure your AE Script is installed in the After Effects > Scripts Folder
Within After Effects go to File > Scripts > Crate’s Null Generator Script
This script works in both 2D and 3D, so select either 2D Midpoint or 3D Midpoint depending on your needs.
You have the option to add some wiggle to the midpoint null as well. By default there will be wiggle controls on every null but you can select ‘control null’ if you want one set of controls for every null all in one place.
If you don’t need wiggle, keep the Wiggle Amplitude and Wiggle Amount at zero.
By default you just get one Midpoint null, which will be right in the center of your two animated nulls. If you want more than one null, they’ll be automatically distributed evenly between the two animated nulls.
Each midpoint null has a bias slider you can use to move it closer to Point 1 or Point 2.
Check out how we can used this script below. We tracked the handle of the sword and the tip of the sword, and applied that data to two nulls.
There are many ways you can utilize this powerful script in your projects.
ProductionCrate is the webs #1 archive of top-quality production-ready assetsserving 1,000,000+ happy producers around the globe