.. | .. |
---|
124 | 124 | static boolean LOCALTRANSFORM = false; |
---|
125 | 125 | static boolean FULLSCREEN = false; |
---|
126 | 126 | static boolean SUPPORT = true; |
---|
127 | | -static boolean INERTIA = true; |
---|
| 127 | +static boolean INERTIA = false; // true; |
---|
128 | 128 | static boolean FAST = false; |
---|
129 | 129 | static boolean SLOWPOSE = false; |
---|
130 | 130 | static boolean FOOTCONTACT = true; |
---|
.. | .. |
---|
1530 | 1530 | } |
---|
1531 | 1531 | } |
---|
1532 | 1532 | float b = 0; |
---|
1533 | | - if (obj.support != null && obj.link2master) |
---|
| 1533 | + if (obj.support != null && obj.Link2Support()) |
---|
1534 | 1534 | { |
---|
1535 | 1535 | b = 1; |
---|
1536 | 1536 | } |
---|
.. | .. |
---|
14676 | 14676 | RigidBody.pos.z = 0; |
---|
14677 | 14677 | if (RigidBody.justclicked) |
---|
14678 | 14678 | { |
---|
14679 | | - RigidBody.pos.x = (float)manipCamera.lookAt.x; |
---|
14680 | | - RigidBody.pos.y = (float)manipCamera.lookAt.y; |
---|
14681 | | - RigidBody.pos.z = (float)manipCamera.lookAt.z; |
---|
| 14679 | +// RigidBody.pos.x = (float)manipCamera.lookAt.x; |
---|
| 14680 | +// RigidBody.pos.y = (float)manipCamera.lookAt.y; |
---|
| 14681 | +// RigidBody.pos.z = (float)manipCamera.lookAt.z; |
---|
| 14682 | + // System.err.println("selected point = " + Trunk(selectedpoint.toParent[3][0]) + " " + Trunk(selectedpoint.toParent[3][1]) + " " + Trunk(selectedpoint.toParent[3][2])); |
---|
| 14683 | + CreateSelectedPoint(); |
---|
| 14684 | + |
---|
| 14685 | + RigidBody.pos.x = (float)selectedpoint.toParent[3][0]; |
---|
| 14686 | + RigidBody.pos.y = (float)selectedpoint.toParent[3][1]; |
---|
| 14687 | + RigidBody.pos.z = (float)selectedpoint.toParent[3][2]; |
---|
| 14688 | + |
---|
14682 | 14689 | RigidBody.wind.set(RigidBody.pos); |
---|
14683 | 14690 | RigidBody.wind.x -= (float)manipCamera.location.x; |
---|
14684 | 14691 | RigidBody.wind.y -= (float)manipCamera.location.y; |
---|