Skip to content

Physics: cloth / soft-body support (Jolt soft-body currently unsupported) #460

Description

@drsnuggles8

Problem

No cloth or soft-body simulation. Jolt's soft-body shape is explicitly rejected in Physics3D/JoltShapes.cpp ("SoftBody shape type not supported, defaulting to Box") — the same defaults-to-Box pattern as the terrain heightfield gap (#428).

Why it matters

Flags, banners, capes, ropes/cables, and deformable cloth are common open-world dressing. Today they'd need custom solvers or fakes.

Proposed approach

  • Wire Jolt SoftBodyShape / soft-body creation through JoltScene + a ClothComponent (or soft-body collider), resolving the unsupported shape-type path.

  • Skinned cloth attachment to skeletons (capes / cloaks); wind coupling via the existing WindSystem.

Acceptance criteria

  • A cloth mesh simulates under gravity + wind and collides with the world; a cape attached to a character moves believably.

Tier D — simulation richness. Mirrors the #428 heightfield "defaults to Box" pattern.

Score

capability: 3
craft: 5
stability: 1
decay: 1
effort: 3
confidence: 0.8
learning: 5
fun: 8
kano: delighter
blocked_by: []
blocks: []

Rated per issue-scoring · score = confidence × (capability + craft + stability + decay) / effort, derived by the picker.

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions