Weapon system: raycasting?

Hello there.

I want to start creating my own OTS weapon system. I have already prepared the visualization, and

But I don’t know what I need to use to create a raycast:

  1. What module should I use for raycast?
  2. Where to calculate raycast(Server/Client)?
  3. Is pool physics necessary for such a system?

You would need to setup a RemoteEvent in the ReplicatedStorage (or somewhere else). A LocalScript should be put in the tool, which fires the RemoteEvent and the server receives and then you would do the raycast and damages etc. I’d highly suggest to watch this tutorial (it uses Tool Grip Plugin, but you can ignore that):

1 Like

I’d recommend checking out the fastcast module, it’s a faster and easier way to emulate bullet physics without replication

Find it here:

1 Like

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