fgm24/Assets/Scripts/Rope/Point.cs

15 lines
302 B
C#
Raw Normal View History

2024-02-02 21:03:44 +01:00
using UnityEngine;
[System.Serializable]
public class Point
{
2024-02-03 02:47:40 +01:00
public Vector3 position, prevPosition;
2024-02-02 21:03:44 +01:00
public bool locked;
2024-02-03 02:47:40 +01:00
public Point(Vector3 position, bool locked = false)
2024-02-02 21:03:44 +01:00
{
this.position = position;
this.prevPosition = position;
this.locked = locked;
}
}