Skip to content

Instantly share code, notes, and snippets.

@mottosso
Last active February 10, 2021 14:20
Show Gist options
  • Save mottosso/dd715bad9ae476e11ae63634c272f912 to your computer and use it in GitHub Desktop.
Save mottosso/dd715bad9ae476e11ae63634c272f912 to your computer and use it in GitHub Desktop.
Editable Initial State - Attempt 6 - Mouse Up Event

⬅️ Back

This one's here for completeness. In the Bullet example, we're always releasing the mouse and could maybe apply the same tactic as Auto-Keyframe. With Auto-Keyframe enabled, a script is called after you've let go of a manipulator, and whatever value is in the channel box is written to keyframes. What if we did that to read the worldmatrix?

But that won't work. Not only does it limit the functionality of the solver to the UI, it also doesn't apply to hierarchies being translated at once. We need these things to happen interactively, irregardless of UI or events.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment