Search Unity

Question object falls down and disappear in hololens 2

Discussion in 'AR' started by abirgallala, Oct 29, 2021.

  1. abirgallala

    abirgallala

    Joined:
    Apr 4, 2018
    Posts:
    1
    Hi everyone,
    I am trying since a while to program a simple app in unity but I faced many problems, mainly 2 still appearing,
    First, I import urdf robot model and once I run my app on the hololens2 the object directly falls down and diseappear.

    Second, I try to position an object using vuforia marker or image target, when I scan the marker the object seems to fly in a different far position each time.
    can you help in this issues??
    Thanks
     
  2. joejo

    joejo

    Unity Technologies

    Joined:
    May 26, 2016
    Posts:
    958
    The first issue sounds like your model has a rigidbody component that is affected by gravity, which will make it fall. You can either disable that or you can put a floor underneath it (there should be many examples of that around the web to find).

    The second sounds like an issue with Vuforia, or with something in your handling of the marker that is at issue. If the latter then without code or an example we can't tell much. If the former (especially if it's a Vuforia sample) you'll have to go to the Vuforia support as we don't support that directly.