fixed LaunchLugTest

This commit is contained in:
Daniel_M_Williams 2015-12-15 22:08:11 -05:00
parent 8fb7d16a66
commit f1eb3d75d8
2 changed files with 4 additions and 4 deletions

View File

@ -405,6 +405,8 @@ public class TestRockets {
bodytube.setMaterial(material);
finset.setMaterial(material);
rocket.enableEvents();
return rocket;
}

View File

@ -41,13 +41,11 @@ public class LaunchLugTest extends BaseTestCase {
BodyTube body= (BodyTube)rocket.getChild(0).getChild(1);
LaunchLug lug = (LaunchLug)rocket.getChild(0).getChild(1).getChild(1);
double startAngle = 90;
double startAngle = Math.PI/2;
lug.setAngularOffset( startAngle );
lug.setInstanceSeparation(0.05);
lug.setInstanceCount(2);
System.err.println("..created lug: at : " + lug.getInstanceOffsets()[0]);
System.err.println(" angle: "+startAngle/Math.PI*180+" deg ");
//String treeDump = rocket.toDebugTree();
//System.err.println(treeDump);