#3d Map Editor

1 messages · Page 1 of 1 (latest)

timid bear
#

how would you do this without colliders?

#

i mean, aren't they necessary for this?

dry spindle
#

Again, it's a design question that depends entirely on how you want it to work.

timid bear
#

i am not a great game designer, i thought this was the easiest way for the user, but now i am changing my mind

#

3d Map Editor

dry spindle
#

I would probably go with a combination. If there is nothing placed on the way, place at the furthest block. Otherwise the first intersecting cell with a block.

timid bear
#

i see

dry spindle
#

Maybe allowing the user to switch to a mode where they can select the plane distance.

timid bear
#

so if i want to set a block on 4x4x4 the user should build the blocks below, and then remove them right?

timid bear
rigid kraken
#

how minecart (or worldedit) solve this (place block in air) is to allow you place a glass block at feet position

dry spindle
#

If it's a first person view game, placing a block in front is a valid design option too.

#

*in front of the player.

timid bear
rigid kraken
#

glass block is visible, or you can place other block in air

timid bear
#

okay but in this case the user should be exactly in fron of the block he want to create i think, is that right?

#

not distance with other 'glass block' in between

#

i am currently taking a look at worldedit and i see they are basing everything on the ground, not on flying blocks such my case, so i think what i am asking is really impossible

rigid kraken
#

It is just a way to place a block in air (since usually you cant do this in minecraft)

timid bear
#

i mean, if there is an anchor point on the air you can select the near slot, otherwise no solution

dry spindle
#

You try to think of implementation of a feature you didn't even decide on how it should work yet.

#

First comes the design document that describes how something should work from the player perspective. Then the implementation.

timid bear
#

the 2 main points are:

  • The user can be in distance, he does not need to be in front of the block that he want to create
  • The user should have the fastest way to draw the map, so avoid using wheel or numbers to select the layer after clicking a slot
dry spindle
#

Then you're down to several options: place the block at the farthest possible slot, at the closest slot or anywhere in between.

timid bear
#

I started this thinking ScreenPointToWorldPosition rould gave me the Vector3 slot position, so i thought Oh okay i just need to find the slot at theat pos and i'm done, but how you guys told me it is a 2d vector

timid bear
dry spindle
rigid kraken