{"action":"created","issue":{"url":"https://api.github.com/repos/thestonefox/SteamVR_Unity_Toolkit/issues/344","repository_url":"https://api.github.com/repos/thestonefox/SteamVR_Unity_Toolkit","labels_url":"https://api.github.com/repos/thestonefox/SteamVR_Unity_Toolkit/issues/344/labels{/name}","comments_url":"https://api.github.com/repos/thestonefox/SteamVR_Unity_Toolkit/issues/344/comments","events_url":"https://api.github.com/repos/thestonefox/SteamVR_Unity_Toolkit/issues/344/events","html_url":"https://github.com/thestonefox/SteamVR_Unity_Toolkit/issues/344","id":169060593,"number":344,"title":"HeightAdjustTeleport on Single Object Ramps","user":{"login":"mattboy64","id":7003769,"avatar_url":"https://avatars.githubusercontent.com/u/7003769?v=3","gravatar_id":"","url":"https://api.github.com/users/mattboy64","html_url":"https://github.com/mattboy64","followers_url":"https://api.github.com/users/mattboy64/followers","following_url":"https://api.github.com/users/mattboy64/following{/other_user}","gists_url":"https://api.github.com/users/mattboy64/gists{/gist_id}","starred_url":"https://api.github.com/users/mattboy64/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattboy64/subscriptions","organizations_url":"https://api.github.com/users/mattboy64/orgs","repos_url":"https://api.github.com/users/mattboy64/repos","events_url":"https://api.github.com/users/mattboy64/events{/privacy}","received_events_url":"https://api.github.com/users/mattboy64/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-08-03T06:51:09Z","updated_at":"2016-08-05T07:35:37Z","closed_at":null,"body":"If you make a simple ramp with a primitive, the height adjust teleport code won't move you up or down the ramp. It appears the reason is due to the VRTK_HeightAdjustTeleport.cs DropToNearestFloor() function. On around line 123 it queries:\r\n                if (rayHit && ValidLocation(rayCollidedWith.transform) && !FloorIsGrabbedObject(rayCollidedWith) && (MeshYChanged(rayCollidedWith, floorY) || CurrentFloorChanged(rayCollidedWith)))\r\n\r\nThe CurrentFloorChange won't allow an adjustment unless it's a different object. \r\n\r\nI'm not sure why this limitation is in place. It seems a generic YChanged() type function should fix the issue. I don't know the reason for the limitation, but if jittering is a concern, perhaps a min Y change amount would work instead. \r\n\r\nThis also breaks my falling code :cry: "},"comment":{"url":"https://api.github.com/repos/thestonefox/SteamVR_Unity_Toolkit/issues/comments/237777704","html_url":"https://github.com/thestonefox/SteamVR_Unity_Toolkit/issues/344#issuecomment-237777704","issue_url":"https://api.github.com/repos/thestonefox/SteamVR_Unity_Toolkit/issues/344","id":237777704,"user":{"login":"mattboy64","id":7003769,"avatar_url":"https://avatars.githubusercontent.com/u/7003769?v=3","gravatar_id":"","url":"https://api.github.com/users/mattboy64","html_url":"https://github.com/mattboy64","followers_url":"https://api.github.com/users/mattboy64/followers","following_url":"https://api.github.com/users/mattboy64/following{/other_user}","gists_url":"https://api.github.com/users/mattboy64/gists{/gist_id}","starred_url":"https://api.github.com/users/mattboy64/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattboy64/subscriptions","organizations_url":"https://api.github.com/users/mattboy64/orgs","repos_url":"https://api.github.com/users/mattboy64/repos","events_url":"https://api.github.com/users/mattboy64/events{/privacy}","received_events_url":"https://api.github.com/users/mattboy64/received_events","type":"User","site_admin":false},"created_at":"2016-08-05T07:35:37Z","updated_at":"2016-08-05T07:35:37Z","body":"yeah maybe. Seems to work on the meshes though, I wonder what's different about those."}}
{"actor":{"display_login":"mattboy64"}}