#attachables not being positioned right

1 messages ยท Page 1 of 1 (latest)

sick tusk
#

i though i could fix it with editing the animation so i did but nothing changed and still broke any ideas on how to fix. when loading the game the item just start straight up throught the player bodys and changing the animation part doesnt affect it

#

ima send a screenshot of whats happening

#

I already know that the position and rotation are all 0 I did that cause the previous rotation also had it going straight up and I was trying to fix it

#

any help is appreicated

sick tusk
#

@main quiver this is the one causing me a pain now

#

I'm not getting any errors either

main quiver
sick tusk
#

Yeah I used block bench for the model and exported it geometry

sick tusk
main quiver
sick tusk
main quiver
sick tusk
sick tusk
main quiver
# sick tusk Uh a mixture but PC

ok that makes it easier for me, on the right pretty much on top you should have modeling, painting and animation (like the blue part at the right top in the picture)

sick tusk
#

I'm at animate let me take a picture

#

No animation for it

#

I'm currently on bedrock entity for the model

main quiver
#

and now in the middle of your screen it starts with moving and so on when you follow it to the right there are 2 boxes with words and the right one should be able to choose third person

main quiver
sick tusk
#

so like that right and ima guess i have to create 2 animations right

main quiver
sick tusk
#

Ok got it ๐Ÿ‘ so how do I do those animation do I just move it correctly then leave it be ?

main quiver
main quiver
#

here a example of how the binding should look in the geomerty file

sick tusk
main quiver
sick tusk
#

{
"format_version": "1.12.0",
"minecraft:geometry": [
{
"description": {
"identifier": "geometry.doomsword",
"texture_width": 64,
"texture_height": 64,
"visible_bounds_width": 3,
"visible_bounds_height": 4.5,
"visible_bounds_offset": [
0,
1.75,
0
]
},
"bones": [
{
"name": "1000015166-removebg-preview",
"pivot": [
7,
29,
0
],
"binding": "q.item_slot_to_bone_name(context.item_slot)",
"cubes": [

sick tusk
main quiver
main quiver
sick tusk
main quiver
sick tusk
main quiver
main quiver
#

when you have both animations ready then edit your attachable file like this (changing the animation names as needed)

#

scripts and animations are important

sick tusk
main quiver
sick tusk
#

Got it so exact same got it ๐Ÿ‘

sick tusk
#

Fingered crossed it works

#

so umm good news and bad news

#

good news it changed from striaght up

#

bad news

sick tusk
#

Improvement though

main quiver
sick tusk
#

An think it is a binding issue not sure

#

Should I change the pivot of the geometry to 0 0 0

main quiver
sick tusk
#

Why did it go to its feet though ๐Ÿคฃ

main quiver
#

does you main bone have a parent to the arm (it seams to low ...)

main quiver
sick tusk
#

first the file is 5 thousand lines long

#

second it didnt have binding set up i deleted it by accident so ima give it another run

main quiver
sick tusk
main quiver
sick tusk
#

Lol I should I just send the whole add on then

main quiver
sick tusk
# sick tusk

@main quiver pls let me know what yah think would fix it ๐Ÿ™

main quiver
main quiver
sick tusk
main quiver
sick tusk
#

Or just that

main quiver
sick tusk
main quiver
main quiver
sick tusk
#

It was positioned right on my screen strange

main quiver
sick tusk
main quiver
sick tusk
main quiver
sick tusk
#

ok trying in game now

sick tusk
sick tusk
# sick tusk

Legit eating the blade sorry low-key got hungry

main quiver
main quiver
#

did the third person work?

sick tusk
#

wait ima dumbass let me check something

sick tusk
#

Still same nevermind lol

#

But good news is that this is closer

main quiver
sick tusk
main quiver
sick tusk
#

Ok ๐Ÿ‘

sick tusk
sick tusk
#

It's in front of the player and down a bit too so I think I just gotta bring it back up

#

no clue why pivot is affecting it but yah know ill tak it

main quiver
sick tusk
sick tusk
#

Third person holding and first person holding working but

#

When in first person the sword isn't there

#

so i increase the visible bounds length and see if that fix it

#

nope didnt work dang

sick tusk
sick tusk
main quiver
sick tusk
#

Here is the latest version

main quiver
sick tusk
main quiver
main quiver
#

test it (you would need to redo the texture in 2d for it -> right now it is a picture from blockbench and 512x512 pixels should be enough)

sick tusk
#

wait nevermind i understand it now

sick tusk
main quiver
#

In blockbench the 3d texture or copy the code from the geometry

sick tusk
main quiver
#

yeah, you won't see the square in game and only the texture...

sick tusk
main quiver