How???
Please send me the model please.
@RMofSBI
What you linked me to is not identical to what i see in your video though.
You sent me a BattleshipTurret model and in the video i see a part that you rotate only, not a model.
Are you making a union out of all these parts?
Edit: i made a union out of them, and still can rotate the pivot just fine.
@RMofSBI
Eeek!
I removed everything in it to make sure it would work.
Should I send you the exact same thing?
Have you tried restarting studio? this is working for me without me touching anything.
Also, try to rotate it in an empty baseplate like i did.
Am trying it now.
Have you tried changing studs?
It didnât work, I tried it in a baseplate, with the Union.
What are dose?
Like do you mean the units?
What would that do for Orientation?
Youâre supposed to use the actual rotate draggers, not the properties orientation
Your studs are on 1 stud, so if you change it to 0 it will possibly center it.
Ohhhh.
I guess I had a zero IQ meltdown.
However, it doesnât work when I use the orientation to rotate.
It worked when I used rotate though.
It should work with adjusting the orientation in properties, but it doesnât, let me see why.
Changing the orientation via properties doesnât consider the pivot point, it orients using the centre of the selection, the rotate dragger actually uses the pivot point.
Okay, but for my battleship actual scripting, it uses Pivot point by assigning the Orientation to a Vector3.
How would I rotate it like this?
(Sorry about being pushy and possibly extremely annoying)
Do you see how each angle of the turret when you are physically rotating it will also change the Origin Orientation⌠this is what needs to also change via script.
I believe it has something to do with changing the studs so when you rotate it, it doesnât go off center like that, Iâm not sure.
No clue because I am not a scripter, but itâd probably be something like having the turret be in a model named âturretâ, have a no-collide/no-touch part set where you want the pivot to be, you could name said part âpivotâ, set the primary part of the âturretâ model to the âpivotâ part.
Then have the script which rotates the turret call for the âturret modelâ, get the âpivotâ part, and CFrame it via that part or something idk.
Yes.
I see that the Orientation changes when I use rotate.
However, so does the POSITION which is rather inconvienent.
So do I just use the CFrame, put it into a part from ReplicatedStorage, then copy the orientation AND position?
Yes, it did not work.
It is because rotate also changes the position as well as the orientation.