#how to make rotatable blocks using custom components.
1 messages ยท Page 1 of 1 (latest)
That uses events
Dude...look at the ones that dont use events...
If you cannot deduce that by looking at the 90% of the other examples idk what else to tell ya
So they don't need scripts? Because none show what actually changes the direction.
They do actually show
Its called block traits
Please reread the article carefully
Block traits is the part that rotates it or sets the rotation?
Please read the article
I did and the only thing that would rotate block is events the traits don't do that they just set it up
I copied and pasted what's written and still nothing
No dude, the trais and permutations help rotate the block. Read the whole article please
I copied and pasted the exact same things and it didn't work
Then you're doing something wrong then when i did it and it worked
Showing code is helpful you know?
Saying it doesnt work but then not showing what you did is unhelpful
I did make a block that rotates depending to what player facing like a block head rotation
And what @radiant field send was also helpful
My bad
Using traits?
Yeah, here's the one I read to make one.
https://github.com/Bedrock-OSS/bedrock-wiki/blob/hcf-rewrite/docs/blocks/precise-rotation.md
Thanks atone ๐๐พ
You dont even have material instances...
I'm using block.js the block is fine apart from the rotation
Then thats your issue
blocks.json prevents your block from rotating
Oh then let me change it
I have the block rotations working but only on a y axis, I cant make it rotate my block like a stem, can u help @radiant field
ah
I have the permutasions only on y but how can I make it rotate like a stem
I fixed it but it's facing the wrong dorection when I place it aswell