Hello, So I’m trying to make a helicopter-type engine.
The issue I’m getting is when I want the bodygyro to rotate towards the mouse position.
As you can see the max torque is 100 on the Y-Axis.
[It is actually 500, with 100 it does not move]
RSH:Connect(function(Step)
if EnginesAreOn then
--BodyPosition.Position = Gunship.Value.Structure.Body.Position
if MouseDirectionIsOn then
BodyGyro.CFrame = Mouse.Hit * Gunship.Value.Framework.Center.CFrame
MouseHitFormer = Mouse.Hit
else
BodyGyro.CFrame = MouseHitFormer * Gunship.Value.Framework.Center.CFrame
end
end
--code for updating the direction/velocity
end)
Is the code. Now what happens when I run it is this:
The part that contains the BodyGyro is centered and facing the same direction as every other part. All parts are also welded and connected using hingecontraints to the part that contains the BodyGyro. I don’t know why it won’t face the mouse position.
Any help is appreciated!