Welding a viewmodel onto character which is my current (However it causes the player weight to become heavier, which results in weaker jumps, slower walkspeed etc)
Teleporting the viewmodel to the character every 0.1 seconds
What is a server sided viewmodel?
It’s basic not understanding gamedev
Roblox is trully the only platform/engine where people invent worst systems because of abstracted networking.
This is close to the actual solution I would use. I assume you’re making a first person viewmodel (instead of some weird third-person viewmodel attached to the character?), which in that case I would use RunService.PreRender to “teleport” your viewmodel by setting its CFrame to the player’s camera every frame.
I agree with the other commenters; there’s no reason to handle this server-side. Use a LocalScript.
Some pseudocode:
game:GetService("RunService").PreRender:Connect(function(dt)
viewmodel.CFrame = camera.CFrame-- set the viewmodel's CFrame to the player's camera position every frame
end)
True thats what I was going to go for, however the current rig im using for the client sided viewmodel cannot share its animations with the server
essentially means that Id have to make 2 versions of every single animation for the viewmodel and for the server. (One of the reasons why red quit developing dw)
When attempting to reuse the animation used by the viewmodel it results in it not loading at all
Just to let you all know first person viewmodel is already done, its just the serversided im going for
Just used the built in arms and got it fixed, I don’t do animating but I did even more research on this and found out that the conditions of the viewmodel and character is to be the same
I didnt include this in the 2 options as I thought fixing this wasnt possible but I was wrong