3D engine that AI agents drive
Merge origin/main
Nguyen Xuan An489133315756
diff --cc src/agent-cloth.jsindex 390adb1d,05a33c0d..cb40cf8e--- a/src/agent-cloth.js+++ b/src/agent-cloth.js@@@ -22,8 -20,8 +22,8 @@@ const MIN_BONE_LENGTH = 1e-4const PIN_EDGES = ['top', 'bottom', 'left', 'right', 'topLeft', 'topRight', 'bottomLeft', 'bottomRight'];const COLLIDER_SHAPES = ['ball', 'box'];const MOVING_SHAPES = ['ball', 'capsule'];-const CLOTH_FIELDS = ['duration', 'gravity', 'wind', 'sheets', 'colliders'];+const CLOTH_FIELDS = ['duration', 'gravity', 'wind', 'fields', 'sheets', 'colliders'];- const SHEET_FIELDS = ['node', 'pin', 'pinTo', 'stiffness', 'bend', 'density', 'damping', 'friction', 'thickness'];+ const SHEET_FIELDS = ['node', 'pin', 'pinGroup', 'pinTo', 'stiffness', 'bend', 'density', 'damping', 'friction', 'thickness'];const PIN_TO_FIELDS = ['node', 'weight'];const FIXED_COLLIDER_FIELDS = ['node', 'shape'];// A ball or capsule that rides on a node: the capsule runs from `attach` (plus offset) to `to` (plus toOffset).