Set different Actor Collision for each Player[Multiplayer]

Here how I was able to do it for local multiplayer.

  • In your project settings, go to Engine > Collision. You need to make 2(one for each player) new object channels.

  • You need to make 2(again, one for each player) collision presets.

  • These are going to be the same settings as the default pawn collision.

  • Go to your character’s collision component. (In my case I used the default character so it is its capsule component) settings. Change the collision preset to your respective characters collision preset we just made.

  • Now in your object’s collision settings, change the preset to custom (if its on a default preset), and check or uncheck the ignore or block for the channels we made.

Again, this is for local multiplayer. ‘Run on owning client’ is for networked multiplayer(not saying that it will work or not, you mentioned it though)

Thank you for your detailed tutorial! Got it working now :slight_smile:

Hi,

so in my game the player can either walk through a hologram door or collide with it. In single player I can set the collision of the door and it works fine.

I am trying to get the same thing in local multiplayer to work. I have a hologram door and two players in my local multiplayer game. The problem now is how do I set the collision of the hologram door specific to a player, so one player can walk through but the other player can’t.

I tried it with custom events and ‘Run on owning client’ to set the collision of the hologram door, but nothing seems to work so far. I searched on google, but also with no success.
Thanks for any help!

Dave

Were you able to get it to work?