#Wild confusing issue
224 messages · Page 1 of 1 (latest)
@manic mango
This is it.
I suggest you read the first message then watch the video.
I dont get whats happening
The video gives you mroe of an understanding
What you mean like you don't understand the problem or you don't understand how to fix it.
the problem
Right well
To keep the background moving with the gyro part.. I made it go in a loop to constantly move it to the gyro
** You are now Level 3! **
So that's the script
That's all it's doing
But my problem
Is it won't actually move with the gyro, Unless these conditions are met
- I am running the " Current: Server " mode.
- I have tabbed out and back in.
Once I do those two steps IN ORDER
It starts working.
wdym "tabbed out and back in"
I have a second monitor
I get why it only works on server thats obvious
So I move my mouse over, Start a video or something. then move it back on then try
Wait.
Right.
Never mind I was incorrect about my original theory
It will only work, If I move the gyro, Click off then move it again.
I was thinking why would being on a different monitor make a difference
anyway first of all dont use a while wait do loop
What should I use instead?
idrk if it will change anything but it will be more optmised
Gyroscope:PropertyChangedSignal("Position"):Connect(function()
end)
Okay let me do that now and see if anything changes
Nope, Still does it. I mean lag reduce but other than that nothing different
And I can't use setprimarypartcframe because for some reason every time I select a primarypart it deselects
maybe try changing it with a script
?
Okay, I'll make a button that moves it
and make sure its a server script
oh wait
Gyroscope:GetPropertyChangedSignal("Position"):Connect(function()
end)
?
I thought :MoveTo() only worked on Humanoids
No it works on all
Yeah I'm using a button WITH a server script and it isn't working.
But when I click off and back on it still work again
?
Do while true do instead?
Or while wait() do end
@everyone
Oops
Wrong server haha
yea I saw that
Should've said that sorry.
Anytime, But now how do I get my thing to work.
It has to have something to do with updating the Gyro
u tried changing it with a script?
Yeah, It's always been a Server.
And I tried using a button
None of that worked
I would like to try and do :GetPrimaryPartCFrame
But it won't let me select a primary part / gyro
Why do you think it won't let me select a primary part?
** You are now Level 4! **
Let's hope this works
just set the primary part of the model to the gyro
it works now right?
I'm just fixing some stuff just wait.
I just realised it after I did a test:
- I took a model with spawn location and baseplate outside the model in workspace and set the primary part of the model the baseplate, I moved the baseplate but the model didnt move
- Then I placed the baseplate inside the model and set the primary part to baseplate again and then I moved the baseplate and the model moved with it
Do I use move to or setprimarypartcframe
Now I just can't move the Gyro,.
There is an error
hmm
how about you..
delete that script
or well
disable ti
disable it and try
Now the Gyro can move but the model doesn't move with it.
have you manually set the gyro as the primary part of the model?
Wait, So It's a script issue.
Yes.
You can see the script too and the primary part
I think there is a limit to how many signals you can recieve for propert changed
try ig maybe switch back to uh
while task.wait() do
Okay.
Well.. Give me a second to type all this. But.
When I use the button, The Gyro moves.
When I use the Current: Server to move it. It moves then flicks back to where it previously was when I used the button.
The model doesn't move at all during these actions
did u enable the script?
Yes.
huh
could you send me the script for the button
Wait.
It could be because of this, This will sound a bit confusing so I'm hoping you understand this.
So in a model all the parts move together if you move the model it'sself correct?
So, If we move the model the gyroscope inside will follow with it
That's our problem
Everytime we move our gyro our model follow with it, But the our gyro gets reset so it goes back because it on a while wait()
Do you think that has anything to do weith it/
Wait, Forget all that.
I fixed it, Idk how but I fixe dit. The gyro moves freely, But the model still doesn't follow.
Wait
Fixed it
Got it working
alright so
Lets go!
All I did, Was move the Gyro out of the model then set the primary part back to it and boom
I don't know why it wasn't working PP wise before.
PP - Priamry prat
Yeah ig
We both do 😭
Now I have to implement your Take away the gyro hight from the ground hight
Well, New issue.
I implemented your idea.
It works, But. A tiny be too much
It goes way out of it path
??
I tihnk you can see what I mean
You see where it is ment to be
And you can see where it is
It looks liek a sliding door for a glory hole
what are you trying to do
I need that exact thing to happen
Just much more smaller
It has to stay within the attitude holder
right but why are you trying to move it?
This is what it normally looks like
Because it needs to move around to display pitch and roll
I thought you will move the camera to do that
** You are now Level 5! **
This is an attitude indicator for that.
What don't you understand, What I'm talking about or why it's up there
nope
Neither?
None
😭
Before you said to display the pitch of the plane I should take the heigh of the gyroscope from the depth of the ground
So Gyro.Position.Y - game.Workspace.Baseplate.Position.y
But that is what is shooting it up in the air
I need that to happe nless
Like it still does the same thing but it doesn't put it up as much
I gotta go to sleep.
also use ```lua
task.wait()

I'm going to remake the system, I'm going to use motors instead.