Wyzloc
(Wyzloc)
October 27, 2019, 12:41pm
#1
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
rogchamp
(pasta)
October 27, 2019, 12:45pm
#2
This should be in #help-and-feedback:scripting-support . #help-and-feedback:code-review is for looking at already working code.
The Code Review category is intended to be a place where developers can get tips to improve already-working code they have created for Roblox games, or provide feedback on code of others.
Please do not post bug reports or feature requests here! Always pick the right category for your topic!
How should I write my topic?
Include a standalone, bare-bones rbxl file with only the code you want reviewed.
Code Review is for reviewing specific parts of your code, and not your whole game.
If you ne…
1 Like
Wyzloc
(Wyzloc)
October 27, 2019, 12:45pm
#3
Yeah my bad I accidently posted here!
1 Like
The math you’re looking for is relatively straight forward, and can be found here:
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
Wyzloc
(Wyzloc)
October 27, 2019, 12:48pm
#5
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.