public sealed class ProxyShapeA primitive attached to a joint, with a name and what it affords.
No guide page documents this yet — the page shows what the code says about itself.
Remarks
Not physics colliders, for three reasons that are all load-bearing. Fidelity — a physics body wants the cheapest shape that stops interpenetration; a contact wants the shape that describes the surface a hand lands on, which is usually finer. A forearm is one capsule to physics and three to a rolled-up sleeve. Cost — a character may carry a hundred of these and posing all of them to serve two goals is waste, so ProxyShapes poses only the ones an active goal names. Coupling — Vixen.Animation does not reference Vixen.Physics and this is exactly where that would break.
Tags rather than a type hierarchy. A shape is described by what it affords — grip-surface, seat, mountable — and a constraint may name a shape by tag rather than by name, which is what makes one authored sitting clip work against a chair, a bench and a crate.
Fields and properties (7)
public required Symbol NameWhat it is called — belly, left-palm, seat.
public required ShapeKind KindWhich primitive.
public required int JointWhich joint it hangs off.
public BoneTransform OffsetWhere it sits relative to that joint.
public ShapeParams DimensionsHow big it is.
public FacetSet TagsWhat it affords.
public bool CoarseWhether it survives into the coarse set.
Methods (1)
public override string ToString()Returns a string that represents the current object.
Used by (30)
- ConstraintStageBenchmarksVixen.Benchmarks.Animation
- AuthoringTestsVixen.Animation.Tests
- ConstraintGizmosVixen.Animation
- ConstraintProposalsVixen.Animation
- GizmoTestsVixen.Animation.Tests
- IProxyShapePoserVixen.Animation
- JointProxyShapePoserVixen.Animation
- ProxyShapeAuditVixen.Animation
- ProxyShapePoseVixen.Animation
- ProxyShapeSetVixen.Animation
- ProxyShapeSetContentVixen.Animation
- ProxyShapeTestsVixen.Animation.Tests
- ProxyShapesVixen.Animation
- ShapeVocabularyVixen.Animation
- SurfaceFrameVixen.Animation
- SwellingTestPoserVixen.Animation.Tests
- TestBodyVixen.Animation.Tests
- TestBodyVixen.Animation.Tests
- TestRailVixen.Animation.Tests
- TrajectoryTestsVixen.Animation.Tests
- VariationHarnessVixen.Animation
- AnimationBinderVixen.Editor.AssetEditors
- AnimationWiringTestsVixen.Editor.App.Tests
- AuthoringContextVixen.Editor.AssetEditors
- AuthoringContextTestsVixen.Editor.AssetEditors.Tests
- HarnessViewTestsVixen.Editor.AssetEditors.Tests
- ProxyShapeDocumentVixen.Editor.AssetEditors
- ProxyShapeImporterTestsVixen.Editor.Assets.Tests
- ProxyShapeSetImporterVixen.Editor.Assets
- ProxyShapeViewVixen.Editor.AssetEditors