crashcat docs
    Preparing search index...

    Function collideConvexVsConvexLocal

    • Local-space collision detection for convex vs convex. Operates in shape A's local space. Shape B's transform is relative to A.

      Parameters

      • collector: CollideShapeCollector
      • settings: CollideShapeSettings
      • shapeA: Shape
      • subShapeIdA: number
      • shapeB: Shape
      • subShapeIdB: number
      • posBInA: Vec3

        shape B's position in A's local space

      • quatBInA: Quat

        shape B's orientation in A's local space

      • scaleA: Vec3

        shape A's scale

      • scaleB: Vec3

        shape B's scale

      • positionA: Vec3

        shape A's world position (for transforming results back)

      • quaternionA: Quat

        shape A's world quaternion (for transforming results back)

      Returns void