添加插件
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user