#Make player ride visible
1 messages Β· Page 1 of 1 (latest)
So you mean having a rider on the invisible rider of the player?
I have tried that, but I hate how it looks, because the second rider doesn't rotate with your view. So it looks really buggy.
Do you have an idea how to fix that?
make it look where you look
I know the exact problem you speak of, and unfortunately I am stuck on it as well π
Rip π
I have changed it now and added it to the player geometry. Works really well now
Although you need to get the entity properties if you change them for the rp
How would you do that for a rider? AFAIK there's only the rider orientation in the seat, and it wasn't capable of doing what you said.
I'd be really interesteed to see how you made it work
My exact issue lol
The rider rotation from the component does nothing and you could just make it face you by teleporting and that's not gonna work for riders
you basically add your model geo, texture and another render controller to your player entity (rp) and then refer to the model texture+geo in your added render controller.
That's gonna look really buggy, but you can change the positioning/rotation of the model with an animation
oh, and to "connect" the model to a player bone, you need to use the vanilla bone structure and put your model into the correct bone
Would the rider be able to be interacted with as an individual entity? I feel like if it's part of the player model, it'd be affected by effects on the player, like being hurt or going invisible w/ the player
yeah, that wouldn't work if you need it to be another entity...
for the interact you could add a custom hit test component, but that's about it
Though one could use an invisible entity in it's position, where the rotation of it won't matter reeally π
true!
How about texturing the 'rider' on the player model? For context, I made a bubble wand + bubble entities, and they come in all the colors and many sizes
the bubble is on the wand while it is being blown bigger and bigger, but it can be popped during this time too
oh, that sounds interesting
but yeah, adding it to the player geo would work then
- invisible rider entity
Any thoughts on the texturing of it? Or would it be invariably tied to the player texture?
Like, if the player changes skins from Steve to Alex, can the rider texture remain unchanged?
just add another texture to the player file like you do with the geo
I guess that's true, the player already has multiple textures on it's model through armor/weapons
Haven't really though about it like that before lol
Thanks!
{
"format_version": "1.10.0",
"minecraft:client_entity": {
"description": {
"identifier": "minecraft:player",
"materials": {
//...
},
"textures": {
//...
"new_texture": "path/new_texture"
},
"geometry": {
//...
"new_geo": "geometry.new_geo"
},
"scripts": {
"scale": "0.9375",
"initialize": [
//...
],
"pre_animation": [
//...
],
"animate": [
//...
]
},
"animations": {
//...
},
"render_controllers": [
//...
"controller.render.new_render_controller"
],
"enable_attachables": true
}
}
}
{
"format_version": "1.17.0",
"render_controllers": {
"controller.render.new_render_controller": {
"geometry": "geometry.new_geo",
"materials": [ { "*": "material.default" } ],
"textures": [ "texture.new_texture" ]
}
}
}```
that's it
yeah, it's pretty simple. Just not so clean, because all of the vanilla code