Hi, I want to make a hat face the same direction as the head, any suggestions on how?
is it attached to the HatAttachment?
Yes, I create a HatAttachment before using AddAccessory function.
You can do this with CFrame (unless you’re using the accoutrement/accessory object for your hats)
HatPart.CFrame = Head.CFrame + CFrame.new(0, 1, 0) --Add an offset
im not sure how they work but try changing the attachments Axis or maybe even WorldAxis.
Does it change anything?
u cant do it when theres attachment?
Are you using the Accessory object for your hats?
(sorry, replied to wrong person)
Yes I am. (aaaaaaaaaaaaaaaaaaaaaaaaa – to let this post Lmao…)
theres no attachment at all???
oh u said u created one in script, u can do it manually so u can rotate it normally
It gets created in a script.
local Attachment = Instance.new("Attachment")
Attachment.CFrame = game.Workspace.ThinkablePokyblox.Head.HatAttachment.CFrame - Vector3.new(0,0.8,0)
Attachment.Orientation = game.Workspace.ThinkablePokyblox.Head.Orientation Attachment.Name = "HatAttachment"
Attachment.Parent = game.Workspace.Accessory.Handle game.Workspace.ThinkablePokyblox.Humanoid:AddAccessory(game.Workspace.Accessory)
Oh, let me try that, be right back.
I believe all you need to do here is place the “Accessory” object into a character’s model. It positions it automatically.
If you want to edit the position, you can set these values:
u can even move its position to good place
This is what happens…
You can set offset positions and rotation with these values
They’re located in the Accessory object
Oh, is there a way of fixing the orientation thing?
inside the accessory is the hatacctahment
change its axis
What does it mean x,y,z when it’s up?
Alright, I’ll give it a go. Thank’s man.