Kamehame blast effect

I’m trying to learn how to make a cylinder resize from start to finish, without the position messing up and the kame expanding from both sides.

In other words I want the kame to begin at the rootpart and finish at
rootPart.lookVector * 30

How can I do this, and make it so it doesn’t expand the kame from both sides of the cylinder?

1 Like

This should be in #help-and-feedback:scripting-support. #help-and-feedback:code-review is for looking at already working code.

1 Like

Yeah my bad I accidently posted here!

1 Like

The math you’re looking for is relatively straight forward, and can be found here:
https://developer.roblox.com/en-us/articles/Making-a-ray-casting-laser-gun-in-Roblox

Some of it will need adapting (i.e the end point should no longer be Mouse.hit.p rather CFrame.new(rootPart.CFrame) * CFrame.new(Vector3.new(0, 0, 30))

2 Likes

thanks for the help man! you should probably post the same solution in the other section as well, for other people who may have a problem similar.