Vixen
02b45cc4
csharp
public readonly record struct CompoundChild

One 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 Shape

    The child shape, already registered.

  • public Vector3 Position

    Its offset from the compound's origin.

  • public Quaternion Rotation

    Its 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