crashcat docs
    Preparing search index...

    Type Alias ScaledShapeSettings

    settings for creating a scaled shape.

    note that some shapes only support uniform scaling:

    • sphere

    non-uniform scaling of a convex hull is supported but significantly slower than uniform scaling: the convex-radius-shrunk vertex set is rebaked per collision pair every frame. prefer uniform scale, or bake the scaled geometry into the hull points directly.

    type ScaledShapeSettings = {
        scale: Vec3;
        shape: Shape;
    }
    Index

    Properties

    Properties

    scale: Vec3
    shape: Shape