-
Notifications
You must be signed in to change notification settings - Fork 200
/
Copy pathControl.cs
29 lines (22 loc) · 969 Bytes
/
Control.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
namespace BEPUik
{
/// <summary>
/// Constrains an individual bone in an attempt to reach some goal.
/// Controls act as groups of single bone constraints. They are used
/// by the solver to determine the active set of body constraints.
/// </summary>
public abstract class Control
{
/// <summary>
/// Gets or sets the controlled bone.
/// </summary>
public abstract Bone TargetBone { get; set; }
protected internal abstract void Preupdate(float dt, float updateRate);
protected internal abstract void UpdateJacobiansAndVelocityBias();
protected internal abstract void ComputeEffectiveMass();
protected internal abstract void WarmStart();
protected internal abstract void SolveVelocityIteration();
protected internal abstract void ClearAccumulatedImpulses();
public abstract float MaximumForce { get; set; }
}
}