#2x3 door enity (RESOLVED)

1 messages · Page 1 of 1 (latest)

woven edge
#

hey guys im trying to make a door entity that will not allow me to pass through it while its closed and when i click on it it will play an open animation stay opened and let me through it and then when i click it agian it will play the close animaiton and not let me through agian

iron prairie
#

There are ways to make an entity solid using the is stackable component I believe, possibly runtime identifiers of the boat or shulker as well. That said, the collision box for entities only offers a width and a height. That means your entity must be the same X and Z size, so if you made it 2x3 then the entities collision box would be 2x2 and 3 tall. Not ideal for a door. With blocks you do have the option to make them 3 blocks tall so using two blocks with the new trick to expand the size of the block might be a solution. As for the animation, you could swap out the blocks for an entity and play the animation then swap back to blocks when the close animation completes after interacting with the entity. Or you could try and animate the blocks and avoid any entities which would require permutations to recreate the animation and a script to properly cycle through the states on interact

steel cairn
#

When i get home from work later I can send u the file for my door

woven edge
steel cairn
#

Its what I did

#

U will see when I send the file

woven edge
#

ok

woven edge
steel cairn