public static class ConstraintProposalsWatches a clip play against a scene and says where the contacts look like they are.
No guide page documents this yet — the page shows what the code says about itself.
Remarks
Assisted, not automatic. With a clip and the scene it was authored against, this proposes tags from proximity: this hand is within two centimetres of this shape for this span, so offer a position goal with that lifespan. The author accepts, edits or rejects.
⚠ The authoring scene is authoring-time only. What is baked into the tag is a surface coordinate that resolves from the live game alone; the scene exists so the editor can work out what the animator meant, and is then discarded. A constraint that could not be resolved without it would be a bug, not a feature.
Methods (1)
public static IReadOnlyList<ConstraintProposal> Find(Skeleton skeleton, AnimationClip clip, ProxyShapeSet shapes, IReadOnlyList<ProposalEffector> effectors, ProposalSettings settings, int samples = 60)Looks for contacts.
Used by (3)
- AuthoringTestsVixen.Animation.Tests
- AnimationClipDocumentVixen.Editor.AssetEditors
- AuthoringContextTestsVixen.Editor.AssetEditors.Tests