New idea for planet shapes.

Anything concerning the ongoing creation of Futurecraft.
Post Reply
User avatar
fr0stbyte124
Developer
Posts:727
Joined:Fri Dec 07, 2012 3:39 am
Affiliation:Aye-Aye
New idea for planet shapes.

Post by fr0stbyte124 » Thu Dec 20, 2012 5:58 pm

I discussed it a bit on the main thread, but I want to get everyone else's oppinion.

The gist is that is might be possible for cube planets to work, even at the corners. The problem with the cube model has always been that gravity will behave funny at the corners and by conforming to an axis-aligned player orientation, whatever it may be, we pretty much guarantee that the change in orientation at the corners will be entirely nonintuitive except in the case where there is a perfect convex lip right on the diagonal.

The way we might be able to get around this is by mostly preserving orientation on an entity on the ground, but having the force of gravity be angular while the entity is in freefall. The stronger the gravity one way or the other, the more influenced your freefall orientation becomes the longer you are in the air. The ultimate goal is that you should be able to viscerally determine the rough orientation of gravity without it greatly affecting gameplay and be able to stand on the blockface of your choosing depending on how you move, preferably in an intuitive fashion, or at least with a little practice.


The benefits of this make it seriously work considering. For one, with a cube world, we don't have to worry about projections or distortions, and the rendering will look a lot cleaner. We'll also be able to do more with the interior of a planet, such as drill a hole from one side to the other. This type of gravity would also most certainly be good to work out about smaller vessels with artificial gravity. For the most part it will all be uniform, but how cool would it be to have artificial gravity produced via spinning torus?

User avatar
hyperlite
Lieutenant
Lieutenant
Posts:360
Joined:Thu Dec 06, 2012 3:46 pm

Re: New idea for planet shapes.

Post by hyperlite » Thu Dec 20, 2012 6:07 pm

Well, this is back to normal.

What?
Spoiler:

User avatar
fr0stbyte124
Developer
Posts:727
Joined:Fri Dec 07, 2012 3:39 am
Affiliation:Aye-Aye

Re: New idea for planet shapes.

Post by fr0stbyte124 » Thu Dec 20, 2012 6:24 pm

Okay, you remember back when we had that big debate over projected spheres vs. solid cubes for planet shapes? Spheres won because we couldn't come up with an intuitive ruleset for how to handle gravity at the edges. It can't be an instant flip at the corner because sometimes you will have concave corners and they will behave opposite of how you expect. Plus there is no indication as to how close you are to the flipping point until you cross it, which will feel arbitrary and obtuse to a player.

Though still very much a WIP, this might be the start of a working ruleset. If we can make it work, it will solve a lot of the really major obstacles regarding game mechanics. We have to try and make it work if we can.

Coppied from the main thread, here is what I have so far:

-Gravity is normal away from the edges.
-At the edges, so long as you keep walking on a flat surface, you can cross the diagonal an not change orientation for some threshold distance.
-Jumping near the diagonal will cause you to fall not straight down, but more towards the planet core. The effect becomes stronger the closer you get to the diagonal.
-As you fall, your body starts to orient to the direction you are falling. Reorientation to block alignment can be smoothed in the ticks before you land an adjustable amount.
-Falling while oriented naturally with the side of the diagonal you are on produces less orientation change. Falling opposite natural orientation produces much more change.
-Whether you stand or slide when you hit a surface depends on how strongly you were oriented before you landed.
-There will be some sort of visual cue near the edge indicating that the gravity is much more angular than normal. A slightly tilted horizon might be sufficient (you do roll with the camera, so any changes to the horizon should be pretty noticeable.)
-There needs to be some mechanism for voluntarily changing orientation near the diagonal. For instance jumping vs. walking off the edge, or how far you clear the edge when you jump. These rules can't be directly programmed; they have to be incidental from the previous rules and will help to determine how to tweak the settings.
-If falling is angular, then jumping must be angular too. This angle should not be directly opposite of the gravity vector, or the pull won't be noticeable. Instead the jumping vector should be angled to the same degree the horizon is,
-Stairs will make things awfully interesting.

So give it some thought. I am looking for input and I honestly don't know what the right answer is this time.

User avatar
Tunnelthunder
Ensign
Ensign
Posts:259
Joined:Wed Dec 05, 2012 10:33 pm
Affiliation:Insomniacs
IGN:Tunnelthunder

Re: New idea for planet shapes.

Post by Tunnelthunder » Thu Dec 20, 2012 6:49 pm

That could work as long as you have it so I can't mess the whole thing by building a large wall at certain points or forming a mass larger than what is being rendered below me.

 ҉ 
Commodore
Commodore
Posts:1574
Joined:Thu Dec 06, 2012 6:50 am
Affiliation:Kzinti Empire
Location:Kzinhome

Re: New idea for planet shapes.

Post by  ҉  » Thu Dec 20, 2012 8:02 pm

Tunnelthunder wrote:That could work as long as you have it so I can't mess the whole thing by building a large wall at certain points or forming a mass larger than what is being rendered below me.
I very highly doubt that gravity will actually be tied to mass.
;.'.;'::.;:".":;",,;':",;

(Kzinti script, as best as can be displayed in Human characters, translated roughly as "For the Patriarchy!")

User avatar
Tunnelthunder
Ensign
Ensign
Posts:259
Joined:Wed Dec 05, 2012 10:33 pm
Affiliation:Insomniacs
IGN:Tunnelthunder

Re: New idea for planet shapes.

Post by Tunnelthunder » Thu Dec 20, 2012 8:49 pm

I am thinking that it will need something to latch to and I was thinking that "Hey minecraft is rendered by proximity, so if gravity is attached to what is rendered, then all I need to do is create something larger then what is rendered below me and gravity will flip!" That is most likely a run-on sentence but grammar is not in my skill set, spelin isnit ether.

 ҉ 
Commodore
Commodore
Posts:1574
Joined:Thu Dec 06, 2012 6:50 am
Affiliation:Kzinti Empire
Location:Kzinhome

Re: New idea for planet shapes.

Post by  ҉  » Thu Dec 20, 2012 9:37 pm

Tunnelthunder wrote:I am thinking that it will need something to latch to and I was thinking that "Hey minecraft is rendered by proximity, so if gravity is attached to what is rendered, then all I need to do is create something larger then what is rendered below me and gravity will flip!" That is most likely a run-on sentence but grammar is not in my skill set, spelin isnit ether.
I don't think it will work like that. Gravity probably won't be attached to blocks. It will be attached to planets, which are magic and which will continue to pull you down with the same acceleration regardless of how much mass they have.
;.'.;'::.;:".":;",,;':",;

(Kzinti script, as best as can be displayed in Human characters, translated roughly as "For the Patriarchy!")

User avatar
Tunnelthunder
Ensign
Ensign
Posts:259
Joined:Wed Dec 05, 2012 10:33 pm
Affiliation:Insomniacs
IGN:Tunnelthunder

Re: New idea for planet shapes.

Post by Tunnelthunder » Thu Dec 20, 2012 9:52 pm

YAY MAGIC! Good luck frost. I hope you understand magic.

Shadowcatbot
Vice Admiral
Vice Admiral
Posts:2623
Joined:Thu Dec 06, 2012 9:46 pm
Affiliation:Nivanshae
IGN:_Shadowcat_
Location:Munching on important looking wires.

Re: New idea for planet shapes.

Post by Shadowcatbot » Thu Dec 20, 2012 9:55 pm

But then if you dug a tunnel straight through the very center of the planet, Would that mean you would fall half the way then get stuck in the middle?

I smell best trap ever...
In yo ceiling, stealin yo wires



Do not open. Ever. At all. Enter at your own risk to life and limb.
Trigger warning
Bot gore warning
Memetic biohazard
Error bait
Spoiler:
[Redacted][Redacted][Redacted][Redacted][Redacted][Redacted][Redacted][Redacted][Redacted][Redacted][Redacted][Redacted][Redacted][Redacted][Redacted][Redacted][Redacted][Redacted][Redacted][Redacted][Redacted][Redacted][Redacted][Redacted][Redacted][Redacted][Redacted][Redacted][Redacted][Redacted][Redacted][Redacted][Redacted][Redacted][Redacted][Redacted][Redacted][Redacted][Redacted][Redacted][Redacted][Redacted][Redacted][Redacted][Redacted][Redacted][Redacted][Redacted][Redacted][Redacted][Redacted][Redacted]

User avatar
Tunnelthunder
Ensign
Ensign
Posts:259
Joined:Wed Dec 05, 2012 10:33 pm
Affiliation:Insomniacs
IGN:Tunnelthunder

Re: New idea for planet shapes.

Post by Tunnelthunder » Thu Dec 20, 2012 9:57 pm

Well I think that momentum would carry you back and forth for a bit, and the chance of you going exact enough not to crash into a wall or be sucked to one side is slim to none.

User avatar
fr0stbyte124
Developer
Posts:727
Joined:Fri Dec 07, 2012 3:39 am
Affiliation:Aye-Aye

Re: New idea for planet shapes.

Post by fr0stbyte124 » Thu Dec 20, 2012 10:42 pm

Yeah, pretty much magic is the way gravity is going to work. The scales are so different, there is no way real physics are going to work here.

But what does everyone think about the rules for crossing edges? If you walked off the edge of a block on the threshold, would you expect to fall a distance, or would you curve around and start walking on another face? What about jumping? Would it make more sense to change directions by jumping or would you expect to fall straight?

User avatar
Tunnelthunder
Ensign
Ensign
Posts:259
Joined:Wed Dec 05, 2012 10:33 pm
Affiliation:Insomniacs
IGN:Tunnelthunder

Re: New idea for planet shapes.

Post by Tunnelthunder » Thu Dec 20, 2012 10:44 pm

It just sounds choppy. Its like "weeee" "ooof" "ow" I must be on the other side of the world...

User avatar
Iv121
Vice Admiral
Vice Admiral
Posts:2414
Joined:Fri Dec 07, 2012 3:40 pm
Affiliation:UTN
Location:-> HERE <-

Re: New idea for planet shapes.

Post by Iv121 » Thu Dec 20, 2012 11:37 pm

The nature of minecraft suggests square yet making a square will make it nightmare on the edges. I already suggested to have a plain minecraft world linked to a round shape, when you enter the round shape you are teleported to the plain normal minecraft world.
They're watching ... Image

"I am forbidden tag" -CvN

User avatar
fr0stbyte124
Developer
Posts:727
Joined:Fri Dec 07, 2012 3:39 am
Affiliation:Aye-Aye

Re: New idea for planet shapes.

Post by fr0stbyte124 » Fri Dec 21, 2012 1:09 am

Yes, that's been the plan since forever. However, there are some impossible to avoid issues with it, like distortion and seams which require teleporting around and concealing. It's much more complicated to render, and will necessarily warp as you change altitude. You won't be able to dig too deep or build too high without terrain looking significantly wider or narrower than it should, respectively.

This cube model can work in real space and therefore solve all those problems, which would be amazing if we can make it work.

Prototype
Developer
Posts:2968
Joined:Fri Dec 07, 2012 1:25 am
Affiliation:NSCD
IGN:Currently:Small_Bear
Location:Yes

Re: New idea for planet shapes.

Post by Prototype » Fri Dec 21, 2012 4:07 am

Cube model sounds good to me, while a sphere might look better it would be a nightmare to implement, and would probably end up more distorted than the cube
Spoiler:
Image
Mistake Not... wrote: This isn't rocket science, *!
Image

Spoiler:
Image

Post Reply