Gun and Viewmodel Exact Position

Hello Devforum people, I’m creating a gun system for Roblox that can possibility release to the public. The main issue I can’t figure out is how to position the view model and the world model in the exact area. For example, when a player shoots the bullet comes from the hole in the view model which then can be replicated to the server. Any idea on how I can do this?

Most (good) gun systems will operate under the idea of “favor the shooter.” You should worry more about the positions matching up for the shooter and their gun, not other players.

The math behind bullet mechanics can be complicated and it depends on if your guns are hitscan or not, but all that matters is that the bullets only need be visually appealing, the origin point for a bullet could be the player’s chest as long as you make it look good and do the math.