WaffloidJoin Date: 2011-07-14 Post Count: 1606 |
Is it possible to make a Motor6D effect another axis other than the one it normally effects?
~Swagilitious and not Nutricious~ |
|
KAAK82Join Date: 2014-05-06 Post Count: 1166 |
well yes... |
|
WaffloidJoin Date: 2011-07-14 Post Count: 1606 |
So how? |
|
KAAK82Join Date: 2014-05-06 Post Count: 1166 |
it's like a Weld... but in my Opinion, a lil more Advanced maybe :/
motor.C0 = CFrame.new(0, 0, 0)
motor.C1 = CFrame.new(1, 1, 1)
and
motor.C0 = motor.C0 * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
and so on |
|
WaffloidJoin Date: 2011-07-14 Post Count: 1606 |
Doesn't that just change the weld? What I'm looking for is to make it tween to that position, like the normal way of using it? |
|
WaffloidJoin Date: 2011-07-14 Post Count: 1606 |
Wait, never mind, |
|
WaffloidJoin Date: 2011-07-14 Post Count: 1606 |
Doesn't work.
~Swagilitious and not Nutricious~ |
|
WaffloidJoin Date: 2011-07-14 Post Count: 1606 |
Bump.
~Swagilitious and not Nutricious~ |
|
|
Quaternion slerp?
(Prepare to die thinking in 4D) |
|
WaffloidJoin Date: 2011-07-14 Post Count: 1606 |
What in the.. beasdbasniowas
~Swagilitious and not Nutricious~ |
|
WaffloidJoin Date: 2011-07-14 Post Count: 1606 |
Bump()
~Swagilitious and not Nutricious~ |
|
|
You need to look into Quaternion slerping (And Quaternions. And 4D) |
|
WaffloidJoin Date: 2011-07-14 Post Count: 1606 |
Okay. ;-;
~Swagilitious and not Nutricious~ |
|
WaffloidJoin Date: 2011-07-14 Post Count: 1606 |
Why not just use 3 different Motors? One that effects the X, one that effects the Y, and one that effects the Z?
~Swagilitious and not Nutricious~ |
|
WaffloidJoin Date: 2011-07-14 Post Count: 1606 |
Oh, fixed it.
~Swagilitious and not Nutricious~ |
|
WaffloidJoin Date: 2011-07-14 Post Count: 1606 |
But, now I got a totally different problem. I made 3 different parts, one that uses the Motor on the X, on on the Y, one on the Z. I've tried doing this; Bot.CFrame = Bot.CFrame* CFrame.Angles(P1.CFrame.lookVector.X,P2.CFrame.lookVector.Y,etc.)
But it just glitches the rotation as it adds the new CFrame.Angles to the old one.
~Swagilitious and not Nutricious~ |
|
WaffloidJoin Date: 2011-07-14 Post Count: 1606 |
Bump
~Swagilitious and not Nutricious~ |
|
WaffloidJoin Date: 2011-07-14 Post Count: 1606 |
while wait() do
Spec = game.Workspace.Spec
game.Workspace.Spec.CFrame = Spec.CFrame*CFrame.Angles(game.Workspace.Part1.CFrame.lookVector.X,game.Workspace.Part2.CFrame.lookVector.X,game.Workspace.Part3.CFrame.lookVector.Z)
end
Thats le script.
~Swagilitious and not Nutricious~ |
|
WaffloidJoin Date: 2011-07-14 Post Count: 1606 |
Bump(2)
~Swagilitious and not Nutricious~ |
|
WaffloidJoin Date: 2011-07-14 Post Count: 1606 |
I really need help with this..
~Swagilitious and not Nutricious~ |
|
WaffloidJoin Date: 2011-07-14 Post Count: 1606 |
Fixed it.
~Swagilitious and not Nutricious~ |
|