How do you make a projectile launcher shoot at the crosshair

I put everything together right but what do the wires going out of the picture go to?

They go to the damage system.
Here’s the simplest version of it:


HP is a HUD constant and it stores player’s HP. It subtracts damage from your HP and checks if your HP is below 0, unequips everything, respawns you in the position of the object with spawnpoint tag and fills your HP
IMPORTANT: this system will not work properly if you use Game Rules chip for pvp

1 Like

So if I set that up then I basically have a custom PvP system and the weapons should work? (Damage other players but can’t damage player holding it)

Yep, it’s the simplest pvp system

Thank you so much man. Just ONE more question; what is the small HP chip at the bottom of the picture

It’s a HUD constant, configure it and set as primary, so it looks like hp bar

I cannot seem to figure out the Event Receiver with the Hit event. It just doesn’t work for whatever reason.

What exactly doesn’t work?

I have everything set up right but the custom system isn’t working. I don’t have the game chip either. I don’t know what to do

Configure Player definition board and toggle active

It is toggled active. I’ve checked everything and there are so many flaws. The HP bar doesn’t show up for other players, you can still move when you die, and it just doesn’t work


This system enables hp bar when you join. Configure HUD constant and set default value to 100. You have to create an object, tag it spawnpoint and place it where you want spawn point to be, when you die, you get teleported there

players can still move around and don’t respawn. I set everything up right

To fix the issue where the Projectile Launcher doesn’t shoot straight at the crosshair in Rec Room, you can use a raycast to align the projectile’s direction with the crosshair. Here’s a step-by-step guide:

1 Raycast from the Camera:

  • Use a Raycast chip to start a raycast from your head (camera) pointing directly forward. This will help you determine where the crosshair is aiming.

2 Calculate the Direction:

  • Use the Get Position chip to get the position where the raycast hits.
  • Subtract the position of the Projectile Launcher from the hit position to get the direction vector.

3 Set the Projectile Direction:

  • Use the Normalize chip to normalize the direction vector.
  • Use the Set Direction chip to set the firing direction of the Projectile Launcher.