50 lines
837 B
C#
50 lines
837 B
C#
using UnityEngine;
|
|
using System.Collections;
|
|
using System;
|
|
|
|
namespace Obi
|
|
{
|
|
public interface IBendConstraintsUser
|
|
{
|
|
bool bendConstraintsEnabled
|
|
{
|
|
get;
|
|
set;
|
|
}
|
|
|
|
float bendCompliance
|
|
{
|
|
get;
|
|
set;
|
|
}
|
|
|
|
float maxBending
|
|
{
|
|
get;
|
|
set;
|
|
}
|
|
|
|
float plasticYield
|
|
{
|
|
get;
|
|
set;
|
|
}
|
|
|
|
float plasticCreep
|
|
{
|
|
get;
|
|
set;
|
|
}
|
|
|
|
}
|
|
|
|
[Serializable]
|
|
public class ObiBendConstraintsData : ObiConstraints<ObiBendConstraintsBatch>
|
|
{
|
|
public override ObiBendConstraintsBatch CreateBatch(ObiBendConstraintsBatch source = null)
|
|
{
|
|
return new ObiBendConstraintsBatch();
|
|
}
|
|
}
|
|
}
|