is a rotating walkable planet/wheel to build on possible?

You are viewing a static copy of the old 2DBoy forum, which closed in 2010. It is preserved here for historical interest, but it is not possible to reply to topics. For more recent discussion about World of Goo, visit our new forum.
is a rotating walkable planet/wheel to build on possible?XDboy12/30/2008 - 17:42

hey guys,
first of all, thank you, Kyle and Ron, for making this awesome game, and all you other guys for making the editing tools and stuff. ;D

i'm still trying to figure out how things work in the editor and world of goo, and often end up with a level that wasn't openable in gooedit anymore... a documentation of all the elements and attributes + the dos and don'ts of levelediting would be nice. ;)

so, i wanted to do a space level, with radial gravity that concentrates on a planet.
this is no problem at all.

but if i want the planet to rotate slowly, i have to set static=false and a mass, but then the planet disappears (if the center of it and the gravitaion are exactly on the same spot) or dances/vibrates  like crazy around the gravitationcenter. and it didn't help to use the wheels from THIRD WHEEL with the hinges either.

the only thing that i managed to do was to use a static walkable circle and a rotating scene_layer_image, but a rotating image is no use, if the goo structures on the planet don't move with it.

does anybody know a solution, or if this is even possible?

Re: is a rotating walkable planet/wheel to build on possible?tair00112/30/2008 - 17:44

the only option i could suggest would be changing the planet tag to 'sticky' - that way the initial structure would stick to it and move as it moves. give it a go, let me know if it works, i'm planning on doing a similar level!  ;)

Re: is a rotating walkable planet/wheel to build on possible?davidc12/30/2008 - 18:04

A hinge centred around the planet centre should do the trick I would think. Also did you try setting mass=0 to avoid gravity at all?

If you're still having trouble tomorrow I'll dig deeper.

Re: is a rotating walkable planet/wheel to build on possible?XDboy12/30/2008 - 18:11

thanks for the fast answer, but no, thats not the problem, keeping the planet stable in its position is. ;) maybe a hinge a would help, regardless of what i said above, if it's used right.^^

edit: jep, davidc, thanks for backing up that theory. :D
and no, not 0 but i had mass on 2, and it would rotate all right and otherwise not move at all, until you drop something on there, than it was like a rodeo.^^

i'll be investigating the hinges now. :D

Re: is a rotating walkable planet/wheel to build on possible?davidc12/30/2008 - 19:01

Well, my intuition and physical experience says, a hinge in the right place should stop it jerking around and keep it fixed in position. And more mass will prevent the balls affecting its position so much. I assume you're using rotspeed? Anyway I hope you get it figured out, but do post again if you don't, and I'll have a play with it myself as it sounds like an interesting problem.

-davidc

Re: is a rotating walkable planet/wheel to build on possible?XDboy12/30/2008 - 19:34

that would be great. :)
at the moment i have another problem, it could be one of those that broke the other testlevels.
when i'm creating a circle and try to attach an image directly on it, the image value always disappears on the editor and i get "invalid image reference" and "bad operand type for unairy -: 'NoneType'" errors.
other attributes that i enter on the circle after that will be invisible, too. if i doubleclick on the value fields they will be visible again...

the images are in the correct dir of that level and are listed as resources and work on the scene layers, so i don't know whats happening there.  :-\

oh and yeah, i did use rotspeed.

edit: oh no, it definatly is one of those level breakers.  :( i dont know if i shut down wogeditor accidently or if it shut itself cause of the errors, but when i start it again, my space level can't be opened again, of course...  >:(
hm... now i could decrypt and delete stuff and encrypt again... but no... starting a new 'level' would be more efficient i guess.^^


Last modified Tue, 12/30/2008 - 19:54 by XDboy
Re: is a rotating walkable planet/wheel to build on possible?davidc12/31/2008 - 00:57

[quote author=XDboy link=topic=1188.msg8085#msg8085 date=1230683699]
when i'm creating a circle and try to attach an image directly on it, the image value always disappears on the editor and i get "invalid image reference" and "bad operand type for unairy -: 'NoneType'" errors.
other attributes that i enter on the circle after that will be invisible, too. if i doubleclick on the value fields they will be visible again...


wogeditor currently doesn't handle geometry with an image on it, this is a known bug

Re: is a rotating walkable planet/wheel to build on possible?davidc12/31/2008 - 07:25

A hinge wasn't necessary, it was just necessary to offset the circle from the center of gravity very very slightly. I don't know why the circle vanishes if it's directly on top but I did get an ODE error at one point.

Anyway here's a working level with a rotating planet you have to build on.

http://goofans.com/sites/default/tmp/planet.zip

Re: is a rotating walkable planet/wheel to build on possible?XDboy12/31/2008 - 07:58

wow, thank you. :)
in the meantime i figured out a solution, too
with a hinge at 0,0
gravity at 0,0 (-12 inner and -3 outer edge, radius 1000)
planet at 0.0001,0 with a mass of only 200. (radius 192)
maybe it will get unstable if you build to much on it, but so far it works. :)

edit: i just found out that my solution depends on the hinge, cause when i removed it, the planet will bounce slowly at first and than circling in increasingly bigger ellipses around the center.


Last modified Wed, 12/31/2008 - 08:06 by XDboy
Re: is a rotating walkable planet/wheel to build on possible?tair00101/01/2009 - 08:39

just as a quick idea, why not clone the Graphics Processing Unit level from chapter 4 and then modify it as necessary? That way the spinning planet and gravity would be set up already... ;)

Re: is a rotating walkable planet/wheel to build on possible?XDboy01/01/2009 - 10:41

that level was my starting point, actually. :)
but it had only the "static circle + rotating scene layer image" concept in it.
when i changed that, i expierenced various forms of the unwanted behaviour described above.

my planet works fine now, though.^^
i'm still playing around with the values a bit, but it wouldn't be necessary to build a level on top of the "circle rotating for real" concept. (as proven by david, before ;) (even without a hinge (but a little bit unstable at times ;) )))

a few impressions of my experiments with the Earth of Goo(gle Earth): ;)



now with a shadow: :D




Last modified Thu, 01/01/2009 - 18:11 by XDboy
Re: is a rotating walkable planet/wheel to build on possible?davidc01/04/2009 - 14:43

If you had invisible geometry rotating and hinged around a point, and then rotated and hinged a planet on that invisible geometry, you could have planets going in their individual orbits around a solar system :)

Re: is a rotating walkable planet/wheel to build on possible?Soultaker01/04/2009 - 16:28

And if you'd put some eyes on the planets... you'd have a Goo Planetarium!

Re: is a rotating walkable planet/wheel to build on possible?madaco01/09/2009 - 22:15

awsome!!! how do you make a .goomod file? i thought it said to take the .zip and change the file name to .goomod but it said that it couldnt load. how do i load planet.zip?? is 1337 allowed here?

Re: is a rotating walkable planet/wheel to build on possible?XDboy01/10/2009 - 04:47

planet.zip is NOT a .goomod file, you just put the "planet" directory into WOG/res/levels/ and then you can open it with the WOG editor.
how to make a goomod file: http://goofans.com/gootool/faqdev

also, nice ideas guys, if i only had the time right now...

Re: is a rotating walkable planet/wheel to build on possible?madaco01/29/2009 - 00:24

is it possible to browse to planet.zip in wogedit, , and use that, and copy it using wogedit into the correct directory?


Last modified Thu, 01/29/2009 - 17:59 by madaco
Re: is a rotating walkable planet/wheel to build on possible?XDboy01/30/2009 - 08:45

no.

but you just have to put the level directory (in this case "planet") in the wog/res/levels directory.

Re: is a rotating walkable planet/wheel to build on possible?madaco01/30/2009 - 20:25

ok thanks, by the way your little image thing of X) makes me feel like your saying that emocon whenever you reply to me.lol. so it keeps making me feel like i said something stupid. lol

Re: is a rotating walkable planet/wheel to build on possible?Frisco01/30/2009 - 21:25

Why i can't play this level.I load with Editor,press save and start, the game is starting,but the level dont appear.

Re: is a rotating walkable planet/wheel to build on possible?Eak01/31/2009 - 10:09

I look forward to playing your level. When do you plan on releasing it?

Re: is a rotating walkable planet/wheel to build on possible?XDboy01/31/2009 - 12:01

[quote author=Eak link=topic=1188.msg9233#msg9233 date=1233414552]
I look forward to playing your level. When do you plan on releasing it?


When it's ready. Think in SPORE dimensions.  ;)