Jump to content

[1.8] item,json rotations and traslations how do you calculate ?


perromercenary00

Recommended Posts

good days

im fixing some items i get this again

 

i have this crossbow and i want it to remian down the crosshair horizontally aiming to the crosshair  exactly in the middle of the screen

this rotation works on some imaginary point at the down rigth side of the screen  "translation": [ 0, 0, 0 ],

 

and the other i want to set down the crosshair exactly in the horizontal middle  is when pulling the bow animation EnumAction.BOW  i wanna steve pulling the bow rigth down the crosshair when pulling  but on hand this hass been, well close to the point but not where it must be

 

 

 

https://drive.google.com/file/d/0B8sU_NyZQBd7R29VNkhCSnF6Q2s/view?usp=sharing

 

 

 

{
    "parent": "builtin/generated",
    "textures": {
        "layer0": "modmercenario:items/arcos/vallestaMercenaria00"


    },
   "display": {
        "thirdperson": {
            "rotation": [ 0, 90, -35 ],
            "translation": [ 0, 1.25, -3.5 ],
            "scale": [ 0.85, 0.85, 0.85 ]
        },
        "firstperson": {
            "rotation": [ 0, -135, 25 ],
            "translation": [ 0, 4, 2 ],
            "scale": [ 1.7, 1.7, 1.7 ]
        }
    }
}

 

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.