csharp
public readonly record struct CompoundChildOne child of a compound shape: a shape, and where it sits relative to the parent.
No guide page documents this yet — the page shows what the code says about itself.
Fields and properties (3)
public ShapeId ShapeThe child shape, already registered.
public Vector3 PositionIts offset from the compound's origin.
public Quaternion RotationIts rotation relative to the compound.
Methods (2)
public CompoundChild(ShapeId Shape, Vector3 Position, Quaternion Rotation)One child of a compound shape: a shape, and where it sits relative to the parent.
public static CompoundChild At(ShapeId shape)A child at the compound's own origin, unrotated.
Used by (5)
- ArenaThirdPersonShooter
- PhysicsDebugDrawVixen.Physics
- PhysicsShapeTestsVixen.Physics.Tests
- PhysicsShapesVixen.Physics
- Vixen_Physics_Shapes_CompoundChildSerializerVixen.Physics