Search Unity

Physics Issue Within VR

Discussion in 'VR' started by howieDoin, Aug 7, 2020.

  1. howieDoin

    howieDoin

    Joined:
    Dec 11, 2016
    Posts:
    20
    Unity 2018.4.20f1 x64
    VRCSDK2-2020.07.15.12.38_Public

    Recently built a quick setup to test physics using VRChat SDK.

    Simple scenario, staircase leading up to a spinning Cube, (rotating on the Y). Avatar walks up the staircase, and steps onto the spinning Cube.

    All good so far, the avatar does spin with the Cube, however, the Cube spins faster than the avatar, as though there is a light grease on top of the Cube.

    I've tried messing with, "friction", and various colliders, ...but no go.

    Any help, thanks.

    https://1drv.ms/u/s!Ap3B_baQ0hg2hmUvpFcZvaPu1x5s?e=2ARmkM

     
  2. JoeStrout

    JoeStrout

    Joined:
    Jan 14, 2011
    Posts:
    9,859
    Movement on moving platforms is kind of a big deal. It doesn't just happen, especially in multiplayer games where moving things need to be synced across the network. I have no idea what the VRChat SDK is doing for you, but chances are you will need to find or implement a platform script.
     
  3. JRooth

    JRooth

    Joined:
    Jun 23, 2020
    Posts:
    6
    Why not use a cylinder? You'd have a constant surface for the player to walk on. I saw a VR game with that in it recently (forget the name). In real life the player would struggle with a cube. I'm downloading your file anyway to check it out. I'm not expert but I'm interested. (I have my own unity problems - heh)
     
  4. JRooth

    JRooth

    Joined:
    Jun 23, 2020
    Posts:
    6