Viewmodel pushing back camera

before anyone pastes 69 links containing solutions to problems like I have, I have tried all of them, this error randomly occured. Only thing I changed WAS ONE LINE OF CODE which is this:

			until ca>=1

changing it back does nothing, this randomly started happeneing, no idea why. Is this a roblox bug? why is this happeneing all of sudden with no script changesd…

what happens in lethe detale.

  1. I equip my tool.
  2. it pushes my camera back, my character staying the same on the server.
  3. I unequip my tool, and my character snaps to my cameras position.

but wait I switched to server I see here?

image
my character is just not moving. randomly snapping. on client being constantly pushed back. Physics seem like they pause for my charaction.

1 Like

keep in mind it literally happened randomly no changes… so idk solution at all… I tried masless, no collsision, collision groups, changing script, it all is worthless…

in roblox it’s not even spawning the viewmodel?? it’s creating errors now and idk what’s happeneing because it’s literally worked like 10 minues ago and then I test and it broke.

I really don’t know any context about the first bit of what you said. That line change really doesn’t mean much in solving the problem alone.

I’ve dealt with something like this before though. It really seems like your server is seeing anchored parts while your client is seeing them as unanchored. Try checking that the next time you see your character floating. Make sure you check all BasePart instances linked to the character, since welds can do some weird physics stuff as well).

well, the main part is the bug it’s pushing my camera back ,

also I don’t anchor or unacnhor anything on the client or servr

Are you using Roblox’s default first person camera? Poppercam might be conflicting with your tool.

Is the tool anchored in studio before testing? Tools can’t be anchored or you’ll get this weird result.

well it was workig perfectly and I made no changes whatsever. I use roblox default camera an dpopper cam shouldn’t be affecting it since it was working before. all tools and compelte massless, no collision, and unachored.

Interesting, what does the hierarchy look like when you equip the tool? Show both the server and the client.

Tool instances should create a weld, lets see if that happens on both sides.

I use custom animationtion tion method for my tool. a motor6d connected to the players torso. It’s part1 is connected to the tool. if the player in first person, part1 = viewmodle torso.

In the client, on roblox my viewmdle doesn’t even appear at all!

Unfortunately it looks like I can’t help you much further without seeing what some of the code is doing. There’s many different avenues to check for why it’s not showing, but it’d be unreasonable to ask me to scope through it all.

Perhaps you should investigate how your view model is getting hooked up or if it even exists under workspace. If it doesn’t exist then there’s your problem! If it does exist then examine why it’s not in the right position.

1 Like

My game is still playable in the actual roblox client, yet without the viewmodel, but in studio is quite untestable when I need to prgress through rounds.

it’s working now, I forgot what I did, which was why I couldn’t fix this in the first place, but yea it works

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.