AgentFirefoxTop 100 PosterJoin Date: 2008-06-20 Post Count: 22404 |
local Monster = workspace.Boss
local Legs = Monster.Legs
local main = Monster.Head
local main2 = Legs.Hip
local w = Instance.new("Motor", main2)
w.Part0 = main2
w.Part1 = main
w.C1 = CFrame.new(0,-8.8,0)*CFrame.Angles(math.rad(90),0,0)
w.C0 = main2.CFrame:inverse()*w.Part1.CFrame*w.C1
w.MaxVelocity = 0.2
main.Anchored = false
main2.Anchored = false
The Motor positioning and rotation angle is PERFECT. There's only one problem. When I set the desired angle of the motor to something, the HEAD spins. I want the HIP to spin. I've tried all kinds of stuff, but I can't seem to get the HIPS to spin. Why is this?
I even put a BodyGyro object int he head, and that didn't do anything. >_< |
|
PhellemJoin Date: 2011-08-04 Post Count: 1984 |
w.Part0 = main2
w.Part1 = main
Did you try
w.Part0 = main
w.Part1 = main2 |
|
AgentFirefoxTop 100 PosterJoin Date: 2008-06-20 Post Count: 22404 |
I've tried both. Same results. |
|
PhellemJoin Date: 2011-08-04 Post Count: 1984 |
>.< I'm not getting any results either.
Sorry. |
|
SDuke524Join Date: 2008-07-29 Post Count: 6267 |
> local w = Instance.new("Motor", main2)
Possibly try parenting it to main. I'm guessing that would be the problem. If it is, document it on the wiki for anyone else with similar problems pl0x. |
|
AgentFirefoxTop 100 PosterJoin Date: 2008-06-20 Post Count: 22404 |
@SDuke
I tried both main and main2. Same problem on both.
Also, I wouldn't be able to edit the wiki anyway, as I still have yet to receive my information.
I've stopped caring. |
|
SDuke524Join Date: 2008-07-29 Post Count: 6267 |
- Is the leg welded to more things than just the head?
- Is the head welded to more things than just the leg?
- Does the head weigh more than the leg? |
|
SDuke524Join Date: 2008-07-29 Post Count: 6267 |
Also I thought it was just Rensus and TheCap, I didn't know you hadn't either. |
|
AgentFirefoxTop 100 PosterJoin Date: 2008-06-20 Post Count: 22404 |
- Is the leg welded to more things than just the head? Yes
- Is the head welded to more things than just the leg? Yes
- Does the head weigh more than the leg? No idea.
The head is 1 cubic stud. The hip is around 5x.2x2 or something. |
|
SDuke524Join Date: 2008-07-29 Post Count: 6267 |
Usually with motors it is which one has the least amount of weight behind them. Or at least in my experience with Motors, that's how it worked. |
|
AgentFirefoxTop 100 PosterJoin Date: 2008-06-20 Post Count: 22404 |
I have TONS more parts welded to the head compared to the hip.
That means my experience contradicts your experience.
STUPID MOTORS!
C0 is the driving CFrame, so it would make sense for the Part1 to ALWAYS be rotated, but nooo. |
|
SDuke524Join Date: 2008-07-29 Post Count: 6267 |
I tried experimenting just using the Motor surface and it acted like I said. That shouldn't be different from the Motor object, should it?
Try :GetMass() to figure out which is heavier. |
|
AgentFirefoxTop 100 PosterJoin Date: 2008-06-20 Post Count: 22404 |
I will post which is heavier tomorrow.
Thanks for the help. :) |
|
AgentFirefoxTop 100 PosterJoin Date: 2008-06-20 Post Count: 22404 |
I'll be darned.
> print( workspace.Boss.Head:GetMass(), workspace.Boss.Hip:GetMass() )
0.072000004351139 1.4000002145767
Turns out I named my desired head 'Torso' and my desired torso 'Head.' >_>
Thanks for the help, will see what happens :) |
|
SDuke524Join Date: 2008-07-29 Post Count: 6267 |
np, gordon says he sent out info to some of the writers. Did you get yours? |
|
AgentFirefoxTop 100 PosterJoin Date: 2008-06-20 Post Count: 22404 |
I did not. |
|
SDuke524Join Date: 2008-07-29 Post Count: 6267 |
Send him a PM saying you didn't. I think he just gave it to the guys he saw complaining on roblox wiki group. |
|
AgentFirefoxTop 100 PosterJoin Date: 2008-06-20 Post Count: 22404 |
I just sent him a PM. :P
Another question. I have some joints in my boss that are the same size. If two parts are connected via motor, and the two parts have the exact same mass, which would move? Should I just make my desired joint smaller? |
|
AgentFirefoxTop 100 PosterJoin Date: 2008-06-20 Post Count: 22404 |
Should I just make my desired moving joint smaller?* |
|