How can I resize a model or a union to only go in one direction (magic beam)?

I’m trying to create a wand ability. It’s basically a bunch of meshes in one model that make up the beam. You can find a picture of it below. I’m trying to figure out how to make it “grow” or get longer but only in 1 direction not resize from the center and to both sides.

https://gyazo.com/1a895e7dfec16ba2363202bdfe660105
Picture of it in studio ^

https://gyazo.com/eea56dc9b5e2b8c249cf3adda934b817
Picture of model’s children ^

1 Like

What do you mean? Are you trying to dynamically add more segments to the beam based on the length? Are you trying to scale all the children together so as a whole they stretch from the start to the end?

Unions only expand in all directions when you want to resize them.
MeshParts will expand in only one direction if you want to resize them.

If you are using Meshes (inside a Part) then change the Scale of the Mesh in that direction to resize them.

I’d be more tempted to use a Trail type effect for something like this.

I managed to change the CFrame as I change the size so it gives off the illusion that it is changing size in 1 direction.

I am not sure how these magic systems work their particle expansion however you can always use the TweenService to change the size of the model to 1 direction.

However in your case, you’ll have to tween a full model so what you’ll have to do is:

1- Setting a Primary Part in your model

2-Tweening the Size of the primary part in the model to the desired one via Vector3

1 Like

Well that’ll just tween it in both directions, I already got the effect I want but I’m trying to figure out how to keep an object moving along with the beam in front of the beam. I tried welding it but that doesn’t make it move with it.

You can use Motor6Ds here’s a video that you might find helpful. Video

Thank you, I’ll give it a try.