#Correcting Particle rotation With Bone/Locator

1 messages · Page 1 of 1 (latest)

dreamy abyss
#

Im trying to like, make a particle that rotates the same way a bone of choice (In this case being the left arm), but i have no idea how to do so correctly atleast. right now it doesnt seem to be following the Z rotations of the left arm when my particle is set up like shown in the json,

Some help concerning this would be appreciated.

#
    "format_version": "1.10.0",
    "particle_effect": {
        "description": {
            "identifier": "voon:test",
            "basic_render_parameters": {
                "material": "particles_add",
                "texture": "textures/particle2/newsquare"
            }
        },
        "curves": {
            "variable.psize": {
                "type": "bezier",
                "input": "v.particle_age",
                "horizontal_range": "v.particle_lifetime",
                "nodes": [0, 1, 1, 0]
            }
        },
        "components": {
            "minecraft:emitter_local_space": {
                "position": true,
                "rotation": true
            },
            "minecraft:emitter_rate_instant": {
                "num_particles": 1
            },
            "minecraft:emitter_lifetime_once": {
                "active_time": 2
            },
            "minecraft:emitter_shape_point": {
                "offset": [0, "-0.135 * 2.9", 0.135],
                "direction": ["query.bone_rotation", 1, "query.bone_rotation"]
            },
            "minecraft:particle_lifetime_expression": {
                "max_lifetime": 2
            },
            "minecraft:particle_initial_speed": 0.1,
            "minecraft:particle_motion_dynamic": {},
            "minecraft:particle_appearance_billboard": {
                "size": [0.135, "0.135 * 2.9"],
                "facing_camera_mode": "direction_z",
                "direction": {
                    "mode": "derive_from_velocity",
                    "min_speed_threshold": 0.0001
                }
            },
            "minecraft:particle_appearance_tinting": {
                "color": {
                    "interpolant": "v.particle_age / v.particle_lifetime",
                    "gradient": {
                        "0.0": "#6B11C5FF",
                        "1.0": "#000057FF"
                    }
                }
            }
        }
    }
}```
dreamy abyss
#

Correct Particle Bone rotation