Make arms follow camera?

Hello! I am trying to make a simple cutscene intro with a camera, but I want the player to see arms that follow it, now I am using the camera not their whole body so I will need to make some arms that are attached to their whole body, any tips on how to start that?

The arms will do animations too.

Thanks for reading and/or helping!

1 Like

You could try grabbing a blank dummy character model and removing every body part except HumanoidRootPart and the arms.

Doing this may make it possible to animate the arms in the animation plugin…

Attaching these arms to the camera can be as simple as setting the PrimaryPart to the HumanoidRootPart and using the method :SetPrimaryPartCFrame() to the cframe of the camera’s position.
Ensure to do this every frame, using something like RenderStepped

I get the error Unable to cast Instance to CoordinateFrame

Here is the code I wrote:


game.ReplicatedStorage.IntroEvent.OnServerEvent:Connect(function(plr)
	render.RenderStepped:Connect(function()
		game.Workspace.Arms:SetPrimaryPartCFrame(game.Workspace.CurrentCamera)
	end)
end)

forgot to do CFrame
try

game.ReplicatedStorage.IntroEvent.OnServerEvent:Connect(function(plr)
	render.RenderStepped:Connect(function()
		game.Workspace.Arms:SetPrimaryPartCFrame(game.Workspace.CurrentCamera.CFrame)
	end)
end)

Also if this is in a normal script it sadly wont work as far as i am aware…
It has to be in a localscript.

I did put a cframe sorry forgot to mention that and it is in a local script, does the same thing.

Did you set PrimaryPart on the Arms model?

image
image
Another thing I should mention, this is in r6.

Did you try the CFrame one, are you sure you are doing this?

You sure it’s in a local script? I see you’re using “OnServerEvent”

^ this too.
OnServerEvent is a normal script method on RemoteEvents, not a localscript method.

Yes it is local sorry I must of pasted the script before I corrected that.

Try rigging the model, attaching the arms to your HumanoidRootPart using a motor6D. Also, are there any errors?

Yes:
image

This seems to be an error about you passing an instance to the SetPrimaryPartCframe method

So i asked if you are sure you did game.Workspace.CurrentCamera.CFrame

Oh! I did that and the error is gone, I don’t know how it did that because I swear I put it in, my apologies. But now the arms just get deleted

did you anchor them?
Also you will not see the arms until you animate them

Oops they weren’t collide able and didn’t have anchor, I turned those on but now they just stay there, is that because I didn’t animate them?

It’s because you didn’t attach them with a motor6D, and you should have it unanchored and uncollideable