#How do I SWING?

1 messages · Page 1 of 1 (latest)

pliant quest
#

quick 5 second question:
okay so y'all know how item events have the

"swing": {}

right, and what that does is make the player swing their item or just do the use animation with their hand

how the hell do you do that w/scripting?
idk if there is some arcane method to it that I am overthinking or what, but I am very curious.

jade vigil
#

I also want to know

pliant quest
#

bump

steep haven
#

There's no way to do that with scripting

pliant quest
#

will update the thread if i figure out a script work around for those who suffer my fate

mint light
#

only will work in 3rd person sadly

pliant quest
#

na

#

peep this one

#
"animation.player.mockswing": {
            "animation_length": 0.41667,
            "bones": {
                "rightArm": {
                    "rotation": {
                        "0.0": {
                            "post": [0, 0, 0],
                            "lerp_mode": "catmullrom"
                        },
                        "0.0833": {
                            "post": [-26.78602, 24.45925, 81.62968],
                            "lerp_mode": "catmullrom"
                        },
                        "0.125": {
                            "post": [-50.8839, 21.54068, 59.35181],
                            "lerp_mode": "catmullrom"
                        },
                        "0.1667": {
                            "post": [-66.87298, 4.46359, 3.19276],
                            "lerp_mode": "catmullrom"
                        },
                        "0.375": {
                            "post": [1.91265, 2.37559, 0.684],
                            "lerp_mode": "catmullrom"
                        },
                        "0.4167": {
                            "post": [0, 0, 0],
                            "lerp_mode": "catmullrom"
                        }
                    },
                    "position": {
                        "0.0": {
                            "post": [0, 0, 0],
                            "lerp_mode": "catmullrom"
                        },
                        "0.125": {
                            "post": [0, 0, 7],
                            "lerp_mode": "catmullrom"
                        },
                        "0.25": {
                            "post": [0, 0, 5],
                            "lerp_mode": "catmullrom"
                        },
                        "0.4167": {
                            "post": [0, 0, 0],
                            "lerp_mode": "catmullrom"
                        }
                    }
                }
            }
        }```
#

its not a great fix but its enough, and if called thru playanimation, it does effect the player camera hand

pliant quest
#

already have, here i'll record what it should look like when imported right

mint light
# pliant quest

I forgot to mention that you must have an item without attachable in hand

pliant quest
#

well at that point, idk how to make the S W I N G
but all in all, just use attachables for custom items and then your mock SWING would work

mint light