-
Notifications
You must be signed in to change notification settings - Fork 5
Editor Scripting Tips & Tricks
This is mostly for AS2 animations, as they tent to have less valid elements to attach trackers to. This is due to limitations with Actionscript 2.0 and the way some animations are made.
You just need at least one element that moves along with the action, which could really be any body part. So you can attach the stim marker to the element that moves, and then without attaching either the base or tip trackers to anything, place those trackers next to the stim marker in such a way that the penetration depth matches the action.
For scenes where you have multiple identical thrusts in a row, it can speed up the process by recording only the frames where the characters are in the starting pose first. As you shouldn't have to adjust the position of the trackers. Then you just do the same for the other identical poses.
It can also speed up the process by focusing on the extreme positions first, such as when it's pushed all the way in, and pulled all the way out. Then once you have all the extreme positions recorded, you can go back through and add positions in-between to make the markers better follow the action.
If you get a scene that doesn't loop, where you're unable to select the correct child in the hierarchy panel at the start of the scene, there's still a way to get the first frames of that scene. First, keep the scene selected. Then, without selecting another scene or a child in the hierarchy panel, play through the animation normally until you're back at the start of the scene that you're trying to fix.
If done correctly, it should automatically reselect the last selected child, which will cause it to create a new scene at the start. Now you should be left with two scenes that you can merge. Depending on how the animation is made, it may also end up creating a bunch more scenes that you can go ahead and delete.