17 lines
364 B
C#
17 lines
364 B
C#
using UnityEngine;
|
|
using System.Collections;
|
|
|
|
namespace Obi
|
|
{
|
|
// Abstracts rope topolgy as a list of elements.
|
|
[System.Serializable]
|
|
public class ObiStructuralElement
|
|
{
|
|
public int particle1;
|
|
public int particle2;
|
|
public float restLength;
|
|
public float constraintForce;
|
|
public float tearResistance;
|
|
}
|
|
}
|