Forum Moderators: Staff
Poser Python Scripting F.A.Q (Last Updated: 2024 Dec 02 3:16 pm)
Yes and no. You can't increase the angle of rotation indefinitely, there's a maximum number (don't know the number exactly) But it can be done using "modulo 360". But you'll have to have quaternion interpolation enabled. The angle calculations are basic, that should be no problem.
The pen is mightier than the sword. But if you literally want to have some impact, use a typewriter
Do you still need quaternion interpolation if the script will set keyframes for each frame? That way poser's interpolation is irrelevant. It's just up to the script to determine the delta angle to increment (and assign to the rotating part's axis modulo 360) in each frame based on the number of frames, the animation duration and the given rotation rate. For multiple scene, continuous animations you could just indicate to the script what the global frame number of the individual scene's first frame is and it can continue on seamlessly from the last.
Verbosity: Profusely promulgating Graham's number epics of complete and utter verbiage by the metric monkey barrel.
This site uses cookies to deliver the best experience. Our own cookies make user accounts and other features possible. Third-party cookies are used to display relevant ads and to analyze how Renderosity is used. By using our site, you acknowledge that you have read and understood our Terms of Service, including our Cookie Policy and our Privacy Policy.
I was wondering if Python could be used to create an infinite rotation script where you could tell it you want say 100 revolutions per minute and the object would rotate at 100 rpms for the duration of an animation.