#Animated blocks using bone visibility

1 messages · Page 1 of 1 (latest)

prisma plank
#

Yeah I need help, I want to make something like this ( below ) but my geometry had almost 120 part visibility geometry, how do I make that it possible to exceed the 16 States limit?

tropic stratusBOT
#
How To Ask Good Questions

Be specific and include relevant details about the question upfront.

  • What are you trying to accomplish?
  • If you have code, which part is not working? Any content logs?
  • What have you already tried?
  • Have you searched the Bedrock Wiki?

https://xyproblem.info/

prisma plank
#

Animated blocks using part visibility

agile basin
#

Moving from #1067876948858118185

prisma plank
#

Yeah.

agile basin
#

In the first code you provided you are defining 60 states, and using 1 by 1. In the second, you are defining 18 states and re-using them.

prisma plank
#

Yeah I notice the first code is inefficient

agile basin
#

States are not permutations, but states creates permutations. The less states you use, the less permutations you have.
Let’s say you have 3 states, A, B & C

prisma plank
#
"states": {
  "wiki:division": [0, 1, 2, 3, 4, 5],
  "wiki:value": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11]
}
"condition": "q.block_state('wiki:division') == 0 && q.block_state('wiki:value') == 0"
"condition": "q.block_state('wiki:division') == 0 && q.block_state('wiki:value') == 1"


"condition": "q.block_state('wiki:division') == 5 && q.block_state('wiki:value') == 10"
"condition": "q.block_state('wiki:division') == 5 && q.block_state('wiki:value') == 11"

I just followed what your post did.

#

This is gonna take awhile to learn.

agile basin
agile basin
prisma plank
#

How do I make it animated?

#

How to run it, I mean.

agile basin
#

I used minecraft:queued_ticking, but you'll use it's scripting replacement

prisma plank
#

I get done of it pretty much, so yeah thanks

prisma plank
agile basin
#

#announcements message

#

Animated blocks using bone visibility

agile basin
#

Welcome back

#

What can I help you with

prisma plank
#

So here my block have 121 states needed to be animated. -60 <-> 0 <-> 60

prisma plank
#

Like this. I use gpt, I can't access my spreadsheet I made yesterday hahahaha

#

Left is the divide that's starts from 0-7, and the rot that's starts from 0-15

#

so if I want my model to be viewed that starts from 0 it would be

#

q.block_state('divide:value') == 3 && q.block_state('rot:value') == 12

#

I just send it here for future reference 😅

prisma plank
prisma plank
#

||~~@agile basin ~~ sorry for ping|| can you look if my block states are over the limit?