GAMES103 Lab2
This is a simple cloth simulation. Two different methods (implict integration and PBD) are used to solve.
- Clone this repo.
- Open the
Lab2.uproject
with Unreal Engine (4.26.0+). - Open the
ImplicitModelMap.umap
orPBDModelMap.umap
. - Click
Play
button and drag the read ball to hit the cloth.
The UPreviewMeshComponent
is created to render custom mesh with which users can modify the positions of vertices directly (not through modifying the FTransform).