i searched into Minecraft entity's models code, and I find things I see it needs to change.
For example the leg. In Minecraft, we can classify mobs depend to there legs.
1- Two legs as player, strider, and parrot.
2- Four legs as sheep, cow, and pig.
3- Eight legs as spider.
4- No legs as Marine entities.
But here's the problem that entities with the same amount of legs can have different names. Especially, Two legs entities. Player legs called rightleg and leftleg, but strider legs called right_leg left_leg. And the parrot leg0 leg1
But is that even important?
Yeah, but only for commanders. How? Let me tell you
Let's say i want to make a player animation controller to make some cool cutscene, so i need to move the leg to make the cutscene so i searched for an animation to move the leg and i found one for the leg but the problem is
"animation.parrot.dance" : {
"leg0" : {
"position" : [ "-variable.dance.x", "-variable.dance.y", 0.0 ],
},
"leg1" : {
"position" : [ "-variable.dance.x", "-variable.dance.y", 0.0 ],
}
but the problem is that the parrot model uses leg0 not like player rightleg so i cant aply it on the player animation
We have also strider animation:
"animation.strider.walk": {
"loop": true,
"bones": {
"right_leg": {
"position": [ 0, "-2 * Math.sin(query.modified_distance_moved * variable.speed * 0.5) * 2 * variable.animation_speed", 0 ]
},
"left_leg": {
"position": [ 0, "-2 * Math.sin(query.modified_distance_moved * variable.speed * 0.5 + 180) * 2 * variable.animation_speed", 0 ]
},
0 Comments
Please sign in to leave a comment.
Post a new comment: