Search Unity

  1. Tune in to get all the latest Unity news live from Berlin on June 19, 6pm CEST. Set up a YouTube reminder!
    Dismiss Notice
  2. Unity 2018.1 has arrived! Read about it here
    Dismiss Notice
  3. Scriptable Render Pipeline improvements, Texture Mipmap Streaming, and more! Check out what we have in store for you in the 2018.2 Beta.
    Dismiss Notice
  4. Improve your Unity skills with a certified instructor in a private, interactive classroom. Learn more.
    Dismiss Notice
  5. ARCore is out of developer preview! Read about it here.
    Dismiss Notice
  6. Magic Leap’s Lumin SDK Technical Preview for Unity lets you get started creating content for Magic Leap One™. Find more information on our blog!
    Dismiss Notice
  7. Want to see the most recent patch releases? Take a peek at the patch release page.
    Dismiss Notice

How to allow players to move each other

Discussion in 'Multiplayer Networking' started by MWizard, Jun 12, 2018.

  1. MWizard

    MWizard

    Joined:
    Jan 5, 2017
    Posts:
    42
    Howdy! I followed a few tutorials and built a test world with the multiplayer feature. Join works, players are rolling around with each other, it's neat.

    However, I noticed that if I go full force into another player, I will just bounce off of them, or go around them.

    I just started playing with the networking side of things in Unity, so I'm just unfamiliar with what features of the network allow for clients to push each other. Is that something I need to implement with a standalone server or something? (And by standalone I mean either a separate server component for the game, or a separate executable for a standalone)

    Thanks for any directions. Just a hint is all I need to get going, I think. Google has resulted in different questions being answered, but maybe I just couldn't find it.

    EDIT: I'm using Rigidbodies, not Character Controllers.
     
  2. MWizard

    MWizard

    Joined:
    Jan 5, 2017
    Posts:
    42
    I was thinking that maaaybe I just have the interaction be part of the original player controller script? Like "If collided with other collider, add force against self based on speed and mass (magnitude?) and angle. I'll let y'all know if I find anything :)