Constraint_Pin class
class Constraint_Pin implements Constraint{
/// position of the pin
final Vector3 pin;
final Vector3 a;
Constraint_Pin(Vector3 v) : pin = v.clone(), a = v;
relax(stepCoef) {
a.setFrom(pin);
}
}
Implements
Constructors
Properties
final Vector3 a #
final Vector3 a
final Vector3 pin #
position of the pin
final Vector3 pin
Methods
dynamic relax(stepCoef) #
relax(stepCoef) {
a.setFrom(pin);
}