Announcement

Collapse
No announcement yet.

How can you stop VR Hands passing through walls and other objects

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

    How can you stop VR Hands passing through walls and other objects

    Been trying to pull this off for a while without success.
    Tried attaching collision spheres, Tried to make a physics animation setup to use the physics asset, = not been able to get that to work.
    every time my hand just passes through world Objects like they are not there
    Anyone got any advice or done something similar?
    https://www.artstation.com/artist/alphawolf
    https://www.minds.com/AlphaWolF_uk
    https://www.bitchute.com/channel/l4M3sJTXAM4p/

    #2
    AlphaWolF - There are a couple solutions but you really need to take into account player experience. Imagine yourself playing VR, immersion is key here, if you move your hand in the real world but in the game it collides with an object, what should happen? If you stop the hand in the game then your hand in real life keeps moving and thus your game hand and real hand are "out of sync". This creates a very poor and unrealistic experience.

    If you did want to do that you have a few options, the easiest, encompass your hands in a sphere with collision enabled. Make sure the objects you collide with have a blocked collision channel. The "VR Hands" need to have a sphere which encompasses them and has collision fully enabled.

    A more elegant solution is to simply use a post process effect to grey out the hand meshes, darken the screen, etc. etc. when the hands are going through a wall or object which you don't want them to interact with. This is the more common solution and used by many mainstream titles.

    Comment


      #3
      Thanks , I have evaluated the user experience already and there is a reason why I am trying to do this as it is part of something else I'm trying to do.
      I have tried to use collision spheres but they wont work unless they are also simulating physics .
      hense why I tried to create a physics animation blend Hoping that the skeletal physics assets physical bodies will collide with the walls .
      I also tried to set simulate physics below on the hands.
      and now I have tried to add a permanent physical body to the hands via a physics handle . which I believe should work .but so far has not
      https://www.artstation.com/artist/alphawolf
      https://www.minds.com/AlphaWolF_uk
      https://www.bitchute.com/channel/l4M3sJTXAM4p/

      Comment

      Working...
      X