-
Notifications
You must be signed in to change notification settings - Fork 71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Documenting a quick short tutorial on how to add this library to your project and make something pick-upabble #188
Comments
@kylebakerio this is great! Would you please send a PR to add this as either on the examples index.html or a new .md with a link from the readme? Note on 3.5, |
Oh, good to know! I'll gladly do that. I can easily just make a new .md with these instructions and link to it, but I'm curious if there's a more ideal form. I might chew on the idea a bit more? Not sure how you are suggesting with a PR on the examples index.html, could you clarify what you had in mind? |
@kylebakerio re the index.html, I just meant you could add this content to the examples html page if you wanted. But the md option is also good and you've already written it out in this format |
c-frame#188 Polished up a bit. Will reference within readme after acceptance.
While I point to a provisional blob URL in this commit, this will be updated to point to master once pulled. This library + script takes the markdown and converts it to HTML client side, live, straight from github so that maintenance overhead is easier in the future and less likely to fall out of date.
I understand now about the index.html idea, I forgot that you have that text file there and was wondering how to include this info within a VR space, haha. I added the .md, once accepted I can pull to request a reference within the README. I went ahead and added a dynamic fetch + MD to HTML client side conversion in the example index.html, so that we can avoid copy/pasting and avoid it falling out of date in the future. Let me know what you think. Formatting may need to be updated to allow the longer lines of code to be pretty, but it's getting late here. |
(Just wanted to ping to ask if anything was needed on that pull request. I've referred to this issue twice in the last month, figured it'd be nice to be able to point them to the finished doc.) |
Thank so much @kylebakerio and @wmurphyrd - i can confirm this works really well I also documented in the ReadMe of my demo project- https://github.com/rchovatiya88/chessvr |
Nice. I imagine using networked-aframe will come up soon, so I'll probably hear from you again soon. ;) |
Update example to include dynamic reference to new markdown from #188
add the
physics
component to your scenenote: trying
physics="gravity: 0"
can sometimes help with debugging some issues, try at your own risk.add these mixins within your
<a-assets>
3.5 make it efficient
add the following component to your project:
add the
physics-hands
mixin to your hand entitiesadd
static-body
component to your ground and whatever surfaces you want to be able to put things onadd the mixin 'all-interactions' or 'grab-move'
Might be good to have this somewhere as a helpful starting point. From here, people can start modifying. This is basically what I extrapolated from the working demo I found.
The text was updated successfully, but these errors were encountered: