![]() Set the Driver Type to Scripted Expression.Īdd the expression 0 + (sin(frame / 8) * 4), where:įrame/8 : is the current frame of the animation, divided by 8 to slow the orbit down. In this example, the current frame is used as the variable that induces the motion.įrame is a Simple Expression that corresponds to Using trigonometry, circular motion can be defined in 2D using the sine and cosine functions. The object’s position will change when scrubbing the timeline. Orbit an object’s position around a point with a custom Scripted Expression. Open the Sidebar region and select the Drivers tab.Ĭonfigure the driver to be the Averaged Value of a Transform Channel of the first object.Įxperiment with moving the first object and notice how it affects the Y rotation of the second object. Open the Drivers Editor and select the Y Euler Rotation property in the channels region. ![]() Starting from a simple setup with two objects:Īdd a Driver to the Rotation Y property of the second object via the context menu or with Ctrl- D. ![]() In this example, the Y rotation of Object 2 will be driven by the X position of Object 1. Transform Driver Ĭontrol a property with an object’s transform. It is useful to have open the Drivers Editor. When adding multiple Drivers or for more advanced configurations, ![]() Simple Drivers can be configured from the pop-over that appears when adding a new Driver. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |