ScerzyJoin Date: 2010-12-27 Post Count: 1082 |
I want to make a flat circle with a velocity pointing towards its center, sort of like a whirlpool but instead of spinning around everything that's on the circle will move to the center. Is that possible?
|
|
|
use multiple bricks each with velocity in it to make a spiral |
|
ScerzyJoin Date: 2010-12-27 Post Count: 1082 |
I've tried that but it looks really sloppy, is that the only way?
|
|
malachi11Join Date: 2008-05-07 Post Count: 2420 |
You could use four parts, each one pointing to the center.
Example:
Part here pointing down and right Part here pointing down and left
Part here pointing up and right Part here pointing up and left
Parts landing on it wouldn't spiral perfectly, but it would be close, and you would only need to use four parts. I'm not sure if there is a better way. |
|
BanTechJoin Date: 2015-12-31 Post Count: 886 |
Could be done with some cool body velocity stuff (or perhaps body force if you are good at math). You'd have to inject it into the user when they touch the whirlpool probably.
Personally I'd use body force and send them round with a centripetal force just large enough to overcome their perpendicular velocity. |
|
ScerzyJoin Date: 2010-12-27 Post Count: 1082 |
Oh I think I worded the question wrong, that's probably why it's harder than it sounds. I don't want anything to spiral anywhere, I just want something like a centripetal force pulling everything to the center in a straight line. Malachi's idea is simple and nice but it doesn't look too good when somethings on the conveyor.
And I'm not too good at using Bodyforces
|
|
ScrippaJoin Date: 2011-12-25 Post Count: 20289 |
Change RotVelocity
|
|
|
ontouch
BodyForce.Force = Goal.Vector3-Part.Vector3
|
|
ScerzyJoin Date: 2010-12-27 Post Count: 1082 |
So it would look something like
script.Parent.Touched:connect(function(hit)
bodyf=Instance.new("BodyForce")
bodyf.Parent=script.Parent
bodyf.Force=script.Parent.Vector3-hit.Vector3
end)
What would that do? I don't really understand this script and what it does
|
|
BanTechJoin Date: 2015-12-31 Post Count: 886 |
Swap hit and script.Parent for the vectors |
|
BanTechJoin Date: 2015-12-31 Post Count: 886 |
Oops ignore what I put. But replace Vector3 with Position |
|
ScerzyJoin Date: 2010-12-27 Post Count: 1082 |
The script doesn't really do anything. I'm currently working on some kind of black hole script to place at the center of the circular conveyor that'll pull everything inwards, but am having trouble
|
|