ClothParticle.cs 351 B

123456789101112131415161718192021222324
  1. using System;
  2. using UnityEngine;
  3. namespace SpriteViewer
  4. {
  5. public struct ClothParticle
  6. {
  7. public Vector3 defaultLocalPosition;
  8. public Vector3 currentPosition;
  9. public Vector3 currentVelocity;
  10. public Vector3 nextPosition;
  11. public Vector3 nextVelocity;
  12. public Vector3 tension;
  13. public float inverseMass;
  14. public bool pinned;
  15. }
  16. }