Skip to content
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

SDK3? #2

Open
Phr3d13 opened this issue Apr 15, 2021 · 10 comments
Open

SDK3? #2

Phr3d13 opened this issue Apr 15, 2021 · 10 comments

Comments

@Phr3d13
Copy link

Phr3d13 commented Apr 15, 2021

Is there anything stopping this from working in a Udon/SDK3 world?

@SCRN-VRC
Copy link
Owner

No, you can strip off all the SDK2 stuff, that's only used to sync a ball that you grab. Everything else should be portable since its just shaders.

@Phr3d13
Copy link
Author

Phr3d13 commented Apr 15, 2021

any chance you'd feel like updating it? I'm a complete Unity noob...

@SCRN-VRC
Copy link
Owner

You can try using the avatar's prefab for a world, that has got sdk2 stuff removed cause avatars can't them.

@Phr3d13
Copy link
Author

Phr3d13 commented Apr 15, 2021

Ok, that one seems like it works better... but I'm either having issues understanding how to play, or the controls are having issues. I can walk through the board and get boxes to light up green and orange, but can't figure out how to actually start playing.

@SCRN-VRC
Copy link
Owner

Ah it's VR only, you have to tap the board on what you want to move then tap where you want to move to. That's why there's a ball in the world version, to simulate a hand touching the board.

@Phr3d13
Copy link
Author

Phr3d13 commented Apr 15, 2021

and it's the ball in the world version that is locked to SDK2?

@SCRN-VRC
Copy link
Owner

You can try adding a synced object in Udon that's people can grab

@Phr3d13
Copy link
Author

Phr3d13 commented Apr 15, 2021

Exactly what I needed for K/M (non-VR) interacting! Thank you!

@Phr3d13
Copy link
Author

Phr3d13 commented Apr 15, 2021

I used a Marker (from the free pool/billiards game unity asset that I was already using), added 4 components to it (Rigidbody (added when adding one of the other components (turned off "Use Gravity", and turned on "Is Kinematic")), Mesh Collider (had to turn on Convex), Udon Behavior (turned on "Synchronize Position" and "Allow Ownership Transfer on Collision"), and VRC Pickup).

@SCRN-VRC
Copy link
Owner

I can try making it more desktop friendly by just letting people click on the board. Though this probably won't happen any time soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants