Rectangle glued to background

For topics that don't fit under the other topics or forums.

Rectangle glued to background

Postby Kasper Hviid » Thu Feb 09, 2012 12:55 am

I have a rectangle on which my entire (unfinished) machine is placed. Somehow it has become glued to the background. (don't ask me how)

If I select Geometry Actions > Loosen, my entire machine will loose its welding and it falls apart. I could of course add each welding all over again, but is there any smarter way? I think I have been here before, the situation felt very deja vu.
Kasper Hviid
 
Posts: 11
Joined: Sat Feb 04, 2012 8:52 pm

Re: Rectangle glued to background

Postby electronicboy » Thu Feb 09, 2012 1:51 am

If your willing to edit the internal files, there is a method!

1. select the rectangle you want to un-glue
2. save the scene, you will see why later ;)
3. extract the saved files, (with 7zip or winrar; its just a zip file)
4. open scene.phn in notepad++ (or any capable text editor, if it all shows on one line, dont edit the file with that program!
5. find the selected items group, near the bottem (usually)
E.G.
Code: Select all
Scene.addGroup {
    name := "selected";
    entityIDs := [29]
}


6. find the item with that entity ID,

Spoiler: show
Scene.addBox {
collideWater := true;
color := [0.15513946, 0.82155925, 0.64765263, 1.0000000];
onCollide := (e)=>{};
attraction := 0.00000000;
controllerAcc := 11.000000;
onHitByLaser := (e)=>{};
heteroCollide := false;
immortal := false;
opaqueBorders := true;
refractiveIndex := 1.5000000;
killer := false;
text := "";
friction := 0.50000000;
materialName := "";
restitution := 0.50000000;
drawBorder := true;
controllerInvertX := false;
controllerInvertY := false;
textFont := "Verdana";
edgeBlur := 0.00000000;
textFontSize := 32.000000;
controllerReverseXY := false;
resistivity := +inf;
ruler := false;
airFrictionMult := 1.0000000;
showVelocity := false;
density := 2.0000000;
textConstrained := true;
textureClamped := [false, false];
reflectiveness := 1.0000000;
textColor := [1.0000000, 1.0000000, 1.0000000, 1.0000000];
showMomentum := false;
textureMatrix := [1.0000000, 0.00000000, 0.00000000, 0.00000000, 1.0000000, 0.00000000, 0.00000000, 0.00000000, 1.0000000];
texture := "";
inertiaMultiplier := 1.0000000;
showForceArrows := false;
collideSet := 1;
colorHSVA := [164.34261, 0.81116462, 0.82155925, 1.0000000];
materialVelocity := 0.00000000;
attractionType := 2;
textScale := 0.50000000;
entityID := 29;
zDepth := 5.0000000;
layer := 0;
geomID := 20;
pos := [-1.5904701, 1.9721012];
angle := 0.00000000;
glued := true;
body := 0;
vel := [0.00000000, 0.00000000];
angvel := 0.00000000;
size := [2.5999999, 1.5200000]
};


7. change
Code: Select all
glued := true;
to false


8. open the scene.phn in algodoo, and TADA!
When asking for help, READ THE STICKIES!
electronicboy
 
Posts: 1694
Joined: Mon Aug 31, 2009 6:18 pm

Re: Rectangle glued to background

Postby Kasper Hviid » Thu Feb 09, 2012 10:53 pm

Thanks that was fantastic! Only your method revealed that the rectatangle wasn't glued to the background, instead it was fixed to some other object which were glued together with another object which accidently had been fixated to the background. I deleted each fixpoint until the machinery fell down, thus locating the problem. I think I will abandon all use of Glue Together in the future. It is too cofusing that I cannot see what's glued. Thanks for the suggestion, I was ready to drop my machine, but now it works! (as little as there is at this point)
Kasper Hviid
 
Posts: 11
Joined: Sat Feb 04, 2012 8:52 pm


Return to Algodoo in general

Who is online

Users browsing this forum: No registered users and 1 guest