#Why is my animation rendering in first person when explicitly told not to

1 messages · Page 1 of 1 (latest)

real pecan
#

??????????????

#

this is in my player.entity.json

#
        "animate": [
          "root"
          ,
          "magic_wand_main_fp",
          {"magic_wand_main": "!q.is_first_person"},
          {"amethest_ar": "!q.is_first_person"}
        ]```
#

the magic_wand_main is rendering in first person

#

and this is the ac

        "controller.animation.player.magic_wand": {
            "initial_state": "default",
            "states": {
                "default": {
                    "transitions": [
                        {"first_half": "!q.is_first_person && q.is_using_item && query.is_item_name_any('slot.weapon.mainhand', 0, 'traye:magic_wand_2')"}
                    ]
                },
                "first_half": {
                    "animations": [
                        "first_half"
                    ],
                    "transitions": [
                        {"default": "q.is_first_person && !q.is_using_item && !q.property('traye:can_shoot') || !query.is_item_name_any('slot.weapon.mainhand', 0, 'traye:magic_wand_2')"},
                        {"second_half": "!q.is_first_person && !q.is_using_item && q.property('traye:can_shoot') && query.is_item_name_any('slot.weapon.mainhand', 0, 'traye:magic_wand_2')"}
                    ],
                    "blend_transition": 0.1
                },
                "second_half": {
                    "animations": [
                        "second_half"
                    ],
                    "transitions": [
                        {"default": "!q.is_first_person && query.all_animations_finished || !query.is_item_name_any('slot.weapon.mainhand', 0, 'traye:magic_wand_2')"}
                    ],
                    "blend_transition": 0.1
                }
            }
        },```
woeful sparrow
real pecan
#

o what?

woeful sparrow
#

Use " Variable.is_first_person", thats the first person variable for player

woeful sparrow
#

Write variable if that is the problem (but i dont think so...)

real pecan
#

nvm thats for the attachable

#

should i do q.is_first_person for attachable?

woeful sparrow
#

Oh, attachable i dont really know

#

Y' should try it if that does work

#

But i think it uses "c.is_first_person"

real pecan
#

o ok