Search Unity

  1. We are migrating the Unity Forums to Unity Discussions. On July 12, the Unity Forums will become read-only.

    Please, do not make any changes to your username or email addresses at during this transition time.

    It's still possible to reply to existing private message conversations during the migration, but any new replies you post will be missing after the main migration is complete. We'll do our best to migrate these messages in a follow-up step.

    On July 15, Unity Discussions will become read-only until July 18, when the new design and the migrated forum contents will go live.

    Read our full announcement for more information and let us know if you have any questions.

screen to ray is acting strange

Discussion in 'Physics' started by stationx, Dec 3, 2014.

  1. stationx


    Jul 9, 2012
    Don't know what happens, but here it is:
    I have a FPS camera and added some box colliders to it as 3d buttons. When I am on the ground I can use screen2Ray in order to trigger action. So this works, but as soon as my FPS lift ofs ( it has a jetpack) the button actions don't work.
    I have checked everything. The colliders are real, they work on ground leve but not in the air. If feels like the colliders are staying on the ground, but they don't I can actually see them in the air as well.
    Hope this makes a little bit of sense. But really want this working. Never seen this super strange behaviors before.
    Regards! Tom