#Is it possible to change a locator’s position on a rideable Minecraft Bedrock entity’s model by way

9 messages · Page 1 of 1 (latest)

nova sinew
#

Is it possible to change a locator’s position on a rideable Minecraft Bedrock entity’s model by way of some conditions met (perhaps in the render controller)?

I’ve worked successfully on some projects superimposing different models and using render controllers to switch textures based on a name tag query. It works well and there are lots of resource packs that do the same, which is where I got the idea.

What I’m trying to do now is do this with a rideable entity, but I need to find a way to move the seating locators conditionally. I’m superimposing a large bird onto the camel. But the camel is a fair amount taller than the bird.

Can this perhaps be done with an animation? Or maybe by duplicating the seating arrangement and grouping it into a folder that is conditionally hidden by the render controller?

Picture for height comparison only (in the finished product, the bird will be standing in the same place as the camel).

balmy star
#

take this as a grain of salt since i havent fact checked it, but i believe you could make a secondary model of the camel, with its locator moved, and then put both of those models in your pack and use the render controller to use your secondary geometry when your bird is riding it

nova sinew
#

hmm, well the issue is just trying to preserve the camel's seating locators so that camels can still be ridden and appear normal, too. i could definitely implement this as a full-on camel replacer, but i'm trying to make it so that i can name it "dodo" (or whatever i decide to put in the render controller query), and then it will switch to a separate texture. the trick is getting a riding locator down on its level, now, when it's a dodo.

balmy star
#

you could leave the locator in the original spot in the default camel model and add your dodo model in with it and place the locator where you want it to be. in the render controller you can change the texture, model, animation, etc when it is named dodo

#

so in short, add the locator to wherever you want in your dodo model, it will move the locator point when you change the name

nova sinew
#

Hmm… I haven’t tried render controller dependent geometry before

#

The premise I’ve used is simply that it’s the same model, it’s just different coordinates on the same (expanded canvas) texture

Edit: The same geo file, anyway. It’s kind of 2 models superimposed with each other—but a single geo file

#

I’ll see if I can follow your suggestion though

nova sinew
# balmy star so in short, add the locator to wherever you want in your dodo model, it will mo...

Haven’t had time to try this just yet but everything I’ve done in the past and everything I understand about locators seems to contradict this suggestion. I’m still gonna try it, but does this really make sense? Isn’t the point of a locator to determine where something is gonna be? The model already has a driver seat locator. If I move it, then the driver is gonna be seen to that location. If I create another driver seat locator in another spot, at best, I can predict that the driver will be visually duplicated as well? At worst, perhaps the driver will be invisible or the entire model might decide not to render? Or the name tags query will just not work.