getPosition method
get the scaled position of the joint
Implementation
List<Vector3> getPosition() {
Vector3 p1 = Vector3.copy(anchorPoint1)..scale(scale);
Vector3 p2 = Vector3.copy(anchorPoint2)..scale(scale);
return [p1, p2];
}
get the scaled position of the joint
List<Vector3> getPosition() {
Vector3 p1 = Vector3.copy(anchorPoint1)..scale(scale);
Vector3 p2 = Vector3.copy(anchorPoint2)..scale(scale);
return [p1, p2];
}