#development-advanced

1 messages Β· Page 25 of 1

cold minnow
#

The unity version vrchat uses only has 16 bit mesh values

frigid nymph
#

no reason to use any anyway

steady monolith
#

The new Unity beta has probuilder advanced implemented in it for free πŸ˜ƒ
Now my purchase for probuilder is kinda pointless tho

#

Oh well, I guess I got to support the devs

velvet badger
#

it seems to not work...

autumn hatch
#

I had no success doing that either in the past

frigid nymph
#

has anyone a working speed mod that can be locally triggered at different points on the map?

bright rivet
#

How's the scripting support so far

spiral otter
#

What Mapname does a WebPanel replace with it's render?

#

I'm assuming "_MainTex"

#

also is there a "Owner- Local" sync style?

#

where only I can press a button and only for me will it make anything happen?

#

There's local, but that lets anyone push it

dull umbra
#

@velvet badger I've messed with it before. It seems pretty unreliable. It's much easier to setup an animation that controls the IsKinematic flag directly - just make sure it executes on all clients as the VRC_ObjectSync doesn't transfer local changes to the kinematic flag.

stray spear
#

anyone know why sfm models' chests pop out when you stop moving sometimes?

inner lance
#

some of the rooms in my world make my char in vr look like its shaking, and also the menu. Anyone an idea why and how to fix it?

Whisper or Tag me plz since im at work and can only read it later. Thanks :)

velvet badger
#

@dull umbra thanks for confirming!

robust yarrow
#

is there a way to have multiple animations (same length and same framerate) to run in perfect sync for all players in the world? it seems to only work perfectly for the host and then other players see the animations playing at different points.

#

(im using animation and object sync too)

frigid nymph
#

when u do a manual atlast why would u do a 2k instead of a 4k, is it anything else than size or does a bigger atlas mean higher chance of overflow or something?

crisp pendant
#

Can I have an avatar that is a ball dynamically rolling as I drag it across the ground with my player movement?

stiff lily
#

if you manage to give it a roll animation that has the same number of frames as the IK sample animation for movement, i think that'd work ?

warm niche
#

So I'm back to whine about the lack of cute cameras, but can I make it so that it'll just show the one render texture frame, so it just looks like I took a photo?

robust yarrow
#

@warm niche thats pretty much what the old cameras were doing but its disabled (made local only) for avatars for a reason. Every camera is basically doubling the amount of rendering if its just one player

#

imagine if a room with 32 players has everyone using a camera

#

and the reason why what you suggested is still the same thing because that one render texture frame still needs to be rendered

#

its also more problematic since vrchat is based on user created worlds, so one world may work fine but another world with lots going on thats just on the tip of becoming a laggy mess will die if players pull out cameras πŸ˜›

warm niche
#

@robust yarrow I know that's how they work, I just didn't know if it would allow me to just do a single frame. Just more wishful thinking and fond memories of when the cameras worked

robust yarrow
#

yeah it was cool to see in game πŸ˜ƒ

#

hopefully at a later date they can find a way to enable it and not cause havoc with fps πŸ˜›

warm niche
#

Yeah there's a post on the canny that we've spit balled ideas but no official response unfortunately

robust yarrow
#

ah i see

warm niche
#

Well if you haven't seen it yet, it doesn't hurt to upvote it! The more attention it can get the better!

robust yarrow
#

will do πŸ˜›

#

done πŸ˜ƒ

dark sigil
#

would making spawned prefabs fall down to the respawn height be sufficient for destroying them?

cold minnow
#

Is there any reason why the VRC_Web Panel auto-activates itself?

#

I set the component to disabled in Unity and then when I test it it is active

cold minnow
#

Any help with it?

crisp pendant
#

@stiff lily "if you manage to give it a roll animation that has the same number of frames as the IK sample animation for movement, i think that'd work ?"

How many frames is that?

stiff lily
#

no idea

fast yarrow
#

Is it possible to make some sort of shader that will make a material invisible to myself, while remaining visible to everyone else?

#

I want to surround myself with a little house

#

As soon as I ask, I think I can imagine a way to do it with stencil shaders

#

hmm

cold minnow
#

You can use the SetMaterial action

#

Not a shader, but could work

normal aurora
#

people that drop giant seemingly multi-material particle things, are they actually dropping multiple particles in the same spot, or are they dropping one particle and finding creative ways to make it one mesh and material?

somber moth
#

Would anyone know if its possible to tweak the Cubed Shaders for a greyscale variant?

#

I know almost nothing about shaders besides how to change them on a material πŸ˜…

normal aurora
#

that sounds like it should be pretty easy to do

warm niche
#

sure, it's possible, you can edit the shader and map colors to greyscale

#

averaging RGB values for example

normal aurora
#

actually you really want to convert to YUV

#

and it feels like there would be a utility for that but I don't know it

#

convert to YUV, set U and V back to 0, convert back to RGB

warm niche
#

covers a bunch of methods, mine at the top

#

the best results are weighted for the human eye

hallow portal
#

@crisp pendant The rolling ball works fine on my bb8.

golden valley
#

dot(col.rgb, float3(0.3, 0.59, 0.11)) is the method i most commonly see used to convert color to greyscale

warm niche
#

that's with weights for human eye perception

normal aurora
#

that's the YUV one

#

might save time vs an actual YUV conversion since you don't need the two colour components in the result

#

(also you don't set Y itself back in as R, G and B, but instead you set them all to 1.164 * (Y - 16))

#

at least according to one source. I guess you could reapply the original equation to check the results huh

crisp pendant
#

@hallow portal Oh yeah? How does your ball work?

hallow portal
#

@crisp pendant 5 anim clips for the 4 directions and idle. All applied to the simple avatar controller. No bones on the model. Imported as custom. In the tutorial section is a tut from mechlai that explains it in more detail. He is not using a ball but the basics are the same.

#

sorry for the delay. at work atm...

crisp pendant
#

That's fine

#

But I wanted dynamic motion, not baked animations

hallow portal
#

I know what you mean but I doubt it works that way. The speed and direction of the rolling match those of your avatar though.

#

Go to The Shufflepuck Bar and look for the pedestal with BB8. See for yourself if you like it that way...

trim ibex
#

so i wanted to reupload my avatars. unity freezes when i try to open the upload dialog. tried removing and reinstalling the sdk, but didn't help

#

has anyone ever encoutered this issue before?

trim ibex
#

giving the settings the path to vrchat.exe fixed it

hallow portal
#

@crisp pendant I gave it some thought and the problem would be that the ball needs a collider. If you have an avatar with a collider that comes in contact with the invisble and always present default collider you will go up up and away like a rocket. So if you try that put the ball 1 unit infront of the actual position of the avatar axis(use a gameobject as parent). And use 2 cubes with joints on the left and right of the ball to gently push it towards the floor. The ball may need to be a rigid body. But even then I still doubt that it works. What works is that the darn ball rolls next to you when you hold it as a pick up and push it down when you walk.

warm niche
#

anyone use SendRPC (TeleportTo) ? it sends it to 0,0,0 not cardspawn (Transform) dunno why

dull umbra
#

@warm niche The TeleportTo target should looked up dynamically by name. Is cardspawn spawned at runtime? Are the cards spawned at runtime?

warm niche
#

Cardspawn is an object in the hierarchy, it's not "spawned at runtime". same for the cards. The TeleportTo target was dragged from the hierarchy

#

not sure how you mean by "looked up dynamically"

#

oh wait is "Targets... All" needing to be fixed?

#

*changed to another value ?

dull umbra
#

@warm niche No, it sounds like you've got everything right. I've always had a bit of trouble getting TeleportTo to behave properly. One alternative I've found is to use the FollowTarget script in the StandardAssets package. it will lock an object to a target transform's position while it is active, so you can just enable it temporarily using an animation, then disable it again a few frames later.

severe hornet
#

Sup guys!
I was wondering, I'm fixing the last parts of my escape/horror world.
Thing is, in the last (boss) room I want to adjust the VRCworld Playermods.
Is this doable through triggers? I know you can use SEND RPC, but what would be the right values.

#

Nevermind figured it out.

stray spear
#

soooo i have an emote that turns my avatar invisible for 5 seconds, but... when it ends, my avatar remains "invisible" -_- anyone help?

fast yarrow
glass cosmos
#

Oh a stencil would be awesome

fast yarrow
#

Whatever material I put that shader on turns into a missing texture

#

yep

#

oh yeah it could also just be the broken shader

#

like I said my edit of that shader isn't functional, I'm trying to figure out how to add the stencil geometry part without it breaking

marble fox
#

i've made a working camera for my model that can ¨film¨stuff and freeze the screen with gestures, but it only shows up for me, other people just see a black screen, does anyone know how to fix that?

glass cosmos
#

It's in the code

#

You'll only see your render layers unless it's a world one

marble fox
#

awww 😦

fast yarrow
#

I edited the custom shader UI to add the stencil option

#

Looks like it works, thanks for the help ;)

#

Now if I can get stencil masks that only work when seen under another stencil mask... hoho

glass cosmos
#

you're in too deep

dull umbra
#

@severe hornet Could you provide info on how you got this to work? I've been looking into this, but I keep getting a null ref exception in the logs.

marble fox
#

@dull umbra thanks

inland sierra
#

Alright sooo... How many Urls does the SyncVideoPlayer cache?

iron hatch
#

hmmm any1 know what calculation in a shader causes the NAN propagation flashing issue

#

?

warm niche
#

A shader failed to compile, check the code

#

or you're feeding it the wrong inputs

iron hatch
#

hmmm

simple basalt
#

On the SDK, pushing a build to the servers reveals a few AWS locations. How are these secured?

#

More accurately: are they secure?

#

E.g. can I get at any public key/secret via the SDK (or breaking into the SDK)?

#

Not asking as I am malicious, I work with AWS for a living and spotted it last night. :)

#

If a bucket or EC2 is able to recieve write requests for a given user's avatar stash, for example, I assume it is not possible for someone else to use a different set of credentials to write to that stash?

#

Also: when an avatar is pulled from the server to be loaded in by another user, how is that avatar transmitted and stored locally? Is it possible to intercept and rip somebody else's avatar?

#

Apologies for the security questions. Not seen a specific room for them.

dusky drift
#

I think you're best off sending them an email for such questions

simple basalt
#

Yeah

burnt knot
#

@simple basalt of course it's possible to load and steal all the content. It's the nature of assetbundles in Unity3D. There is not much you can do but to make it more difficult. Even without assetbundles you can rip pretty much anything being rendered in any game. The only way to actually answer your other questions would be to violate the VRChat ToS which I've not done and hopefully others haven't either so nobody here should be answering πŸ˜› .

simple basalt
#

Well I can ask the questions, I don't mind not getting an answer πŸ˜ƒ

sharp burrow
#

Not really allowed to discuss that topic here in general πŸ˜›

junior drum
#

@fast yarrow did you sort out your stencil flat lit toon?

fast yarrow
#

yea, but not how to make a texture only invisible to me so I can see through the house I'm trapped in xd

next swan
#

Is there a way to trigger an event in local if the localPlayer touch a trigger collider ?

#

because I'm making a big world with a hub to teleport to other parts of the world and to optimize I want to disable a world when the player leave

#

with door interaction it works but with a trigger it make the hub disable when any player touch it and not only the local player

plain quarry
#

nvm

simple basalt
#

Does hiding a particle emitter at the end of a gesture mark its particles as destroyed?

#

For the purposes of an on-death sub emitter

#

I.e. can I end a gesture, hide an emitter and spawn a particle from an always-visible emitter?

#

Trying to see if I can construct a " charge a fireball' gesture that then "releases" the fireball (spawns a new projectile with speed) when the gesture ends

golden valley
#

If it's something you want to fire a couple of at a time, you can disable the emission module but keep the particle system at all times and then in the fire animation just activate the emission module for a short period

#

I don't know of a way to fire just one without having a slow emission rate and timing it well

#

@simple basalt

normal aurora
#

you'd think if you're animating it, you could turn the emitter on for a precise number of frames and set the emission rate to that rate, but I'm guessing there is a risk of accidentally firing two in some edge case where it goes off exactly on the start frame

#

I use a similar trick for a grenade, making it disappear from the hand at the same time the particle system produces exactly one particle, and I wasn't able to get it to fire at the right time using a slow emission rate

#

so I set the rate to 0.2 at the moment and just make sure I release in time

#

the problem I found was that the emission timer starts running as soon as the particle system is running, even if the emitter isn't enabled

cedar marten
#

use bursts in emission, only let it fire for one cycle, and make the "over time" 0

simple basalt
#

I've got no issue with getting a fireball or ten out

#

hadoken!

#

I'm just wondering if in Unity, the particle emitter sub-emitter trigger-on-death functionality triggers if the particle emitter is hidden

#

I can check it easily later, just wondering now

hollow lotus
#

Is it possible to save data by using triggers in VRChat?

glass cosmos
#

Define save data

hollow lotus
#

For example, save voting results.

#

I guess it's the simplest way to explain what I'm looking for.

dark sigil
#

yeah I've been wondering that too, I've tried the float animator values but afaik you can't increment them

glass cosmos
#

I think something like that would require scripting if you want to save it to your computer

hollow lotus
#

Hopefully, we'll be able to achieve this with PlayMaker.

#

However, if we're not even close to that, I'm probably gonna prepare something different for my diploma project.

final wigeon
#

@hollow lotus If you've got a webserver somewhere you might be able to do it semi-remotely via webpanels.

I'd have to check exactly how to do it, but if webpanels don't load pages until their gameobject is set to active, you could have triggers that locally enable a webpanel that loads a page triggering a 'vote' or something, then deactivates itself & the trigger.

hollow lotus
#

Yeah, the panels are still a bit inconsistent. I don't think I can make a database for a system like this, but I'm sure it'll work one day eventually.

#

Actually, I don't know. Do panels even work these days?

#

Maybe I didn't set mine how I was supposed to, but seems like I can't interact with it at all.

final wigeon
#

As long as you're not trying to play media (audio or video) in them, web panels should work mostly as described.

hollow lotus
#

Yeah, I see. Well, thanks for giving me something to think about.

robust sandal
#

When I send my avatar using unity the following error "updating content.asset bundle upload failed. failed to upload" appears.
Anyone know how to solve this?
I already told you that it was the server but this problem has been happening for more than 2 weeks.

wild helm
#

Ex [HTTPRequest]: CallCallback - Message: Object reference not set to an instance of an object StackTrace: at VRC.Tools.ObjListToStringList (System.Collections.Generic.List1 objList) [0x00000] in <filename unknown>:0 at VRC.Core.APIUser.Fill (System.Collections.Generic.Dictionary2 jsonObject) [0x00000] in <filename unknown>:0

#

anybody know what this is since i updated?

forest wagon
#

Does anyone know someone who knows how to code Plugins/Scripts in Unity?

pale violet
#

i'm wondering if there's any way to cut a hole in a mesh, inside of unity. to get this exact spot using blender or any other software would be tricky as it's a large mesh intersecting with other large meshes. is there any plugin for unity i can get that lets me take a piece out?

wild helm
#

i use 3dmax or blender. Havent found a way in unity..........you need to delete some polys

pale violet
#

there MUST be a way to delete triangles inside of unity. seems like it's too useful a tool for someone not to have figured it out.

warm niche
#

why is my avatar not showing up in unity when i upload. I downloaded the new sdk

forest wagon
#

@warm niche ask in #avatars-2-general some already solved this; and it's not an advanced question im pretty sure (not trying to be rude)

stoic tapir
#

you.. could save data technically i guess. implementation would be kind of horrible though. you could use triggers to create a pseudo finite state machine to store that information, and have a non-trivial amount of inactive web panels that you can activate appropriately to "save" a value by calling a url assigned to that value, but the web server would have no way of differentiating which instance of the world that http call came from. But.. this is probably too horrible to even consider implementing even if it could lol.

#

but.. your server could differentiate ip addresses, and i guess with local panels, you could have the triggers call the appropriate web panel url assigned to a specific value, and have your web server configured to redirect that specific ip to another address that displays a url shorterner that the person could type out to access that data for later, as long as they're on the same ip address.

#

technically possible i imagine... but you really shouldnt do it

hollow lotus
#

I wonder if it's possible to take a screenshot with a camera and save it somewhere.

#

We can take screenshots manually, but I wonder if it's possible to do this from a different POV.

inland sierra
#

Without scripting: No

hollow lotus
#

Would we be able to do this when PlayMaker arrives?

inland sierra
#

Don't know

hollow lotus
#

This is kind of an obscure idea, but I'm interested in taking pictures in VRChat like this and printing them on paper.

inland sierra
#

The most common way so far is just putting a one side screen in front of you and taking a screenshot

#

I know a way to temporary save screens tho

hollow lotus
#

Is it hard to access them?

inland sierra
#

Access what?

hollow lotus
#

Actually, if you're sure it's just temporary, maybe it wouldn't work.

inland sierra
#

Like temporary save a screen in VRChat

hollow lotus
#

So far, I'm just trying to find a way to take pictures with a separate camera and use the images on paper, so it's probably something different.

inland sierra
#

yeah the only way to do that so far is taking screenshots of Screens, for example with a Render Texture

nocturne scarab
#

does VRChat support Leap Motion?

final wigeon
#

Not directly, there's a piece of software that uses the leap to emulate a pair of vive controllers.

cold minnow
#

wtf

#

I updated the SDK and some vrchat components disappeared in unity

#

Lost hours of work

dark sigil
#

don't touch anything, delete the SDK folder and import the new one

#

close unity before that too

cold minnow
#

I updated it following tupper instructions

#

Closed unity, deleted vrcsdk folder, opened it again and imported the new sdk

#

Lost complex triggers...

dark sigil
#

weird

#

all of the scripts just pop back in when updating

cold minnow
#

Not all

dark sigil
#

did you change the name of anything?

cold minnow
#

I did exactly as the changelog said

#

And lost triggers and seats

dark sigil
#

any old scene versions you think you can load up

#

to see if the triggers are there

#

or just try restarting unity again

cold minnow
#

ok, managed to restore them by restarting unity. Looks like script components are loaded at startup, and because the import was made after startup the Editor didn't load those components

cold minnow
#

Devs should implement variable and basic operations and comparisons in the next update. I really need to save some runtime data

cold minnow
#

where are the vrcsdk temp files saved?

glass cosmos
#

Does anyone know if it's possible to change the default location/settings of the vrc camera? I keep moving it to the same location whenever I upload a new avatar so it'd be lovely if I can make it the default

autumn hatch
#

Maybe you can make your own editor script to do it?

nocturne valve
#

I want a particle system to have world and plane collision for different purposes but I can't change the collision type in an animation

#

Would I just have to set it to plane and make an invisible plane that's big to substitute world collision?

leaden lark
#

Anyone know how to make a sphere hollow? Trying to make the textures on the inside something else for an animation.

inland sierra
#

clone the sphere and flip the normals with ProBuilder

#

Or do you mean 3d modeling?

dark sigil
#

have a shader that disables culling

leaden lark
#

just a hollow sphere I can put a panosphere shader on @inland sierra

inland sierra
#

Do you need to outer faces?

cold minnow
#

does VRC_Audio Bank really work?

#

Because I can't get it to play some audio files

leaden lark
#

not sure what that means @inland sierra

sweet crystal
#

Is there a way to make things turn to face players?

west cloak
#

You mean a sprite? @sweet crystal

sweet crystal
#

No

frigid nymph
#

sure you can with shaders

cold minnow
#

Is anyone using TextMesh here?

#

Can you post here the setting you use?

#

I can't get mine to appear in vrchat. Strange, as it shows perfecly in scene view and in play mode

inland sierra
#

I think only the Paid Version works

#

so far at least..

cold minnow
#

I made it to work in one build of my world some days ago

#

Then I changed some config and it stopped working

inland sierra
#

Β―_(ツ)_/Β―

steel swallow
#

is it possible to have a particle collide with an avatar?

#

essentially firing at a player

inland sierra
#

Doesn't particle systems allow colliders for particles?

steel swallow
#

yes, I've had it collide with the world, but never tried hitting an avatar

inland sierra
#

hmm

#

it could work

#

But it could also not work

#

it depends on the setup of the Colliders

dark sigil
#

it can hit people but it will only show locally for the other person

slender ember
#

So what would you use for lightsaber glow, the things i tried usually just filled entire map with light and i dont want that

sturdy lynx
#

Create 2 tube
1 inner and outer tube

Inner tube max emissions with max alpha

Outer tube
Set slpha to around 30% and also emissions

warm niche
#

Oi mates, quick question. does vrchat support normal maps on models in worlds?

#

yes it does

warm niche
#

Does anyone know how people animate those world bubbles, is it with the particle effects in unity? Is there a tutorial or something since I would like to try to make one myself? Ex: I seen people have oceans or the kingdom heart scene with all the key blades in the ground.

warm niche
#

I can't promise that video will work but good luck with whatever you're trying to get with particles

steel swallow
#

I'm at a loss for words

#

Just a basic MMD model, using the regular old cubed's shaders

#

and somehow that's what happens

slender ember
#

@brittle cobalt line renderers look alot better than tubes

#

and im just looking for a glow effect without making too much light

#

i just remember somone told me to never use or always use directional light

lilac timber
bold jay
#

prob custom made

lilac timber
#

kinda figured

slender ember
#

same idea as the distance face thing

#

distance fade*

normal aurora
#

does that particular effect require a geometry shader?

#

I had wondered because it seems like you'd need to introduce more vertices to lift up one section while the adjacent section stays where it was

steel swallow
#

As shit, it does too. Thank you SO much!

sturdy frost
#

okay, so how much control do you have over a characters movement when you make a world for vrchat. lets say I wanted to make a Mirrors edge map without the boring parts. Would It be possible or will it only work in playmaker

stoic tapir
#

I wonder if this is possible, some sort of vote tabulation system.

Have a button for each option, and each option activates a web panel. Web panel loads a page on a webserver you've configured, and use cookies to check and see if a person has voted before or not so they can only vote once regardless of options. Users can obviously work around this by clearing cookies but i imagine most players wont really bother with vote manipulation. If you really wanted to you could restrict it by ip.

Would that work? It would be interesting to use to get survey results on features in a map and see what people think. Sort of like those screens you see in some shops that lets customer vote on how pleased they are with customer service.

inland sierra
#

sure, why not?

#

You just need to remember to activate the cookies

#

You could even make a hidden Voting System based on users action by creating WebPanels and changing the url based on their action

stoic tapir
#

... data analytics vrchat edition

#

oh boy

inland sierra
#

Kahoot xD

stoic tapir
#

this will be quite useful actually since i'm interested in creating maps with secrets/puzzles

#

and getting metrics on how many people are able to figure them out would be nice

inland sierra
#

yup

#

Now i want to write this voting system...

stoic tapir
#

I wonder if its feasible to do some kind of collaborative drawing board

inland sierra
#

Like once Reddit did that thing?

stoic tapir
#

yeah

leaden lark
#

Has anyone ever used the mesh pack made my kripto fx for 22$ on the store? There's a few problems when I try to use it and I'm just looking for some help

#

Ping or pm me

cold minnow
#

I'd like to know an approximate date of when will scripting be avaiable

#

So I know If I should start writing scripts now

ebon niche
#

Trying to make some of my avatars "pickup-able" in my world. Anyone know how? VRC_Pickup doesn't seem to want to co-operate with me...

#

I've tried adding a box "inside" of my avatar's mesh but of no luck. It just fell through him pretty much

#

Nvm mah dudes, I figured out how to solve it

warm niche
#

I'm not sure it's classified as "advanced", but I'm trying to figure out how to get my world particle mesh to emit at the same rotation of its emitter. IE: Planting a sword at any rotation anywhere in the world space.

#

I can already plant the sword at any location based on my emitter, but rotation seems beyond me.

wanton spindle
#

Does the "use default presentation" toggle on portals actually do anything? I turned it off and supplied a custom prefab, but nothing seems to have changed.

bright rivet
#

Anyone have more information on the VR Chat api?

pale violet
#

is anyone familiar with the juke box script? it plays the songs fine it seems if i have it on shuffle. but when attempting to play them in order, it stops after the first track. any idea why?

bright rivet
#

Trial and error, my friend... trial and error...

normal aurora
#

so essentially it's a flaky script

dark epoch
summer berry
#

Asking this in development advanced since this might be more than expected for worlds.
I'm making a mini-game map and I have a few questions:
-Is there a way to force hide player nameplates? I noticed one of the werewolf maps had blocked nameplates in a specific area. I assume it's a shader or an object that blocks UI layer.
-Can you change the speed of specific players after loading in the world? I want one group of people to be faster than the other. Disabling running for a group would work too.
-Is there a way to get and track a player's location?

normal aurora
#

I've been wondering about the nameplate thing too. a few worlds are doing that now

summer berry
#

Supposedly it is a ToS violation so they won't tell us here.

autumn hatch
#

-On the backend side of things there is a flag admins can set on your world ID to force nameplates off, this was done for "spooky" worlds during last halloween. Obviously you can get similar effect with shaders, which is fine unless it's done with malicious intent.
-Been trying to figure out that myself, unsure if possible but I doubt it.
-If you manage to make a rube goldberg machine with the VRchat trigger system, yes you can. @summer berry

summer berry
#

Thank you for responding. I don't want to disable nameplates from the start since I only want the people playing to not see them. I guess I'll figure out the shader then. I will only have it enabled in the play area.
It might be possible to force them into a vehicle, but I haven't looked into those scripts yet. If I force the vehicle with the same controls, that would also solve the position tracking.

ebon niche
#

My teleporters don't wanna activate for some reason πŸ€”

#

I'mma try "toggle" and see what happens. But Toggle seems unlogical though

#

Didn't work either...

#

I have an invisible texture on them. But That shouldn't be an issue now would it?

#

I am so confused... It worked perfectly the other day but now nop

atomic shuttle
#

Looking for way to make a moving platform not cause insane jitter for players on it

frozen pike
#

I'm still having issues getting the GUI to work. Anyone got a prefab of a working GUI I can look at?

stray spear
#

why does unity completely disregard my blueprint ID when i try to update an avatar? i have to remove it and upload it as new every time since the update

inland sierra
#

Welcome to VRChat

steel swallow
#

so is it possible to have particles collide with other avatars?

#

standard avatars that is, not ones with extra colliders around them

molten coral
#

Particles can collide with people as world particles. But... it'll only be seen on the receiving persons end.

steel swallow
#

ah, alright thanks

graceful stump
#

how do i add a collider to a particle so when it hits you and then you teleport

normal aurora
#

esoteric shader question .. I have a UV but I want to get it to screen space. I know the object it's on is flat and figure I can probably get the normal vector easily, but not the orientation

#

use case is deforming an image behind the object, but using the coordinate space of the rectangle

#

say if I wanted to apply a mosaic effect to stuff behind it but didn't want it in view space

harsh nest
normal aurora
#

the floor() function in shaders ... is supposed to work, right

#

is there some way to debug this stuff? it's like it has no effect on the values being passed in

harsh nest
#

@normal aurora I usually output the value Iam debugging as color

harsh nest
#

@graceful stump to simulate that, I think you might be able to spawn moving (animated) object that teleports player on collision

vapid parrot
#

Hey i'm trying to get a negative shader that auto fills the inside of whatever mesh its in (so I can have a sphere that has inverted colors inside it) does anyone know a script for this?

graceful stump
#

thanks neitri hehe

calm siren
#

Who else is excitedly learning playmaker :$

frigid nymph
#

my learning list is already not ending :<

vivid crane
#

Does anyone on here know whether or not the javascript bindings for Unity calls for VRC_Web Panel actually work.

#

I'm trying to make a webapp that uses room Id's and player Id's to do session management, because cookies don't work in the webpanel

dull umbra
#

You'll probably want to try VRCSDK2.Networking.get_LocalPlayer followed by VRCSDK2.VRC_PlayerApi.GetPlayerId

vivid crane
#

@dull umbra I've been doing some extensive testing and so far VRCSDK2.Networking.get_LocalPlayer errors with '''[Exception:3/1/2018 1:34:28 AM] BindingException: Indexed properties are not supported. Please use an array or list field'''

#

according to the function definition for VRCSDK2.VRC_PlayerApi.GetPlayerId
public static int GetPlayerId(VRC_PlayerApi player)
{
return VRC_PlayerApi._GetPlayerId(player);
}
It seems to require a GameObject reference which I have no idea how javascript could provide that

#

I guess this kind of stuff is still under development

#

and/or not supported

dull umbra
#

It's a longshot, but try passing in null.

vivid crane
#

I can't really

#

I don't know much about the interface to the browser

#

But im making these calls by using a promise returned by the function engine.call(<call name>).always() in js

#

I'm making some headway as to the response types of some of the functions that work

dull umbra
#

@vivid crane According to the CoherentUI documentation, the standard way of invoking functions that return arguments is engine.call('functionName').then(function (returnVal) {

vivid crane
#

Many of the bindings seem to be implemented improperly or deprecated

dull umbra
#

Looks like they're generated procedurally to me. From what I'm able to gather, Coherent should handle most basic data types.

#

VRC_PlayerAPI doesn't look like it has anything too irregular in it...

vivid crane
#

@dull umbra I'm assuming it can, however most of the functions that allow me to retrieve a basic level of information do not seem to work

#

I.E the 2 functions you mentioned originally

forest wagon
untold vigil
#

i ran into someone today testing a new avatar and they seemed to be able to do a bunch of crazy shit, like blow kisses at people that centred a mesh on the persons fov, which seems odd as you could basically blind someones avatar with it. hey also talked about being able to change everyones character model to monica from doki doki. they seemed harmless enough , but i cant help but wonder if what they were doing breaks tos in some way

cold minnow
#

@vivid crane I'd wait for scripts. Making that in javascript would be hell

simple basalt
#

Might be a hacked SDK

ebon niche
#

@untold vigil That's a hacked SDK. Record it or take a screen and send a Moderation Report

tawdry hamlet
#

No it isnt? Thats a client side hack if they can run scripts. As the CLIENT removes the scripts on runtime. Aka its a hacker...

#

Sure a modded sdk lets you upload more stuff but that doesnt mean itll be used.

rare ravine
#

Last time I tested, there was no way to upload code with the Avatar, the only place it is possible is to upload scripts with a world, and even then you have to be a trusted user

#

It is probably tricks with animations or client side stuff to make it work

#

Or maybe even triggers

frigid nymph
#

@tawdry hamlet dafuck are u talking about they talk about modifying the sdk so the object is big enough to apply a screen shader

vivid crane
#

@cold minnow I'm an impatient person who has spent way to much time writing js

tawdry hamlet
#

Hmm, fair enough, i guess i should have read further back

dark sigil
#

don't need a modified sdk for screen space shaders, it's just obnoxious though
changing people to monica though is probably a modified client

velvet badger
#

Is it possible to play specific item from playlist using VRC_videosync player? and trigger system

hardy hull
#

hey, i have a wierd problem
i have multiple triggers setting a material on an object
only one works
any help?

copper jewel
#

does vrc support any point cache animation plugins? such as megafiers? or pc2unity?

molten wraith
#

anyway to make the VRC_videosync player not cache redirect URLs? i'm trying to make it so you can control a playlist from the web. the idea is to let a web server change the redirect location of a URL and then when you hit 'next' it should go to the new URL but instead it seems the video player is caching this beforehand so it keeps going to whatever the redirect location was at the start of the instance (or whatever it was when your client joined)

sturdy frost
#

is it possible to render Only Players on a camera?

warm niche
#

maybe if you adjust the far clipping plane to be close enough it never renders the scenery but you'll still get the skybox πŸ€”

#

it's cheating but hey

harsh nest
velvet badger
#

@harsh nest Yeah, it works, figured this out already πŸ˜ƒ ❀

calm siren
#

Regarding The seated position that avatars use with the station script, Where is that seated position pulled from?

inland sierra
#

hmm πŸ€”

#

Maybe it's the idle animation

calm siren
#

I thought it was an animation but i have no clue where from

inland sierra
#

since you can create an override for the standing and sitting animations it could be the idle animation

calm siren
#

Cause im working on a project that wants me to change the idel override to a yoga sitting position

#

And it works nicely for desktop

#

But vr users look wonky

#

The feet and legs go all over the place. So im now wondering if the sitting position is an animation at all

crisp pendant
#

Did you check the rig configuration?

#

Guys, something wierd is going on with one of my old avatars

#

After the recent patch, I can actually see my hidden object animations in mirrors!

#

But only with that avatar, even though I use something similar on others

inland sierra
#

*magic*

steel swallow
#

anyone know how to make the range property in a shader increment in values of 1 with no decimals?

#

nvm got it

normal aurora
#

cameras on avatars .. is the warning in the SDK true, and what does it mean?

cold minnow
#

The VRC_SlideShow custom method for showing next slide is VRC_SlideShow.ShowNextSlide ?

brittle laurel
#

do you still have to detach the pipeline manager when updating an avatar?

barren lantern
#

Is there any documentation on what functions you can call from inside a WebPanel? I know you can call ListBindings to get a list of what functions are available, but that doesn't actually say what the function returns or how many parameters is has, so I'm kind of wandering around blind here.

#

The only one I've managed to figure out without documentation is VRCSDK2.Networking.GoToRoom. There's got to be docs for the rest somewhere, right?

short crypt
#

any tutorials on adding web panels to worlds other than the wiki?

odd fable
#

figured out how to prevent cloth colliders from sending your avatar into space!

#

tldr set the collider to a trigger

harsh nest
#

@normal aurora is probably supposed to mean that the camera is active only for the one who uses the avatar, so to others who see you, it will behave as if the camera was disabled/removed, Iam however not sure if it's true, I am still seeing avatars with working cameras

simple basalt
#

Not specifically a VRChat question but is for something I want to build for VRChat: if I wanted to load an interactive webpage onto one of my controllers in a similar way to the OpenVR Twitch chat plugin, is there a good project to fork or start with?

#

I've got an idea for a DnD world that doesn't somehow display your character sheet etc in game, but on a companion app that's hosted on AWS or something

#

And you can just look/modify your sheet as needed in game. More elegant than some hacky solution inside the game before scripting is extended.

harsh nest
#

@simple basalt the plugin you mentioned seems like a good start to me, or you can probably use OVRDrop from the same creator to show browser window with your webpage

simple basalt
#

Thanks

short crypt
#

@odd fable great work

fair hedge
simple basalt
#

thanks

#

That's not FOSS

#

So no good for me πŸ˜ƒ

#

The old version is tho

dull umbra
#

@barren lantern Webpanel bindings seem to be bugged at the moment. While there are a few simple functions that work such as GoToRoom, anything that uses a non-primitive type as an argument or return value will spit out a binding error or nothing at all. I wouldn't count on them being very useable right now.

short crypt
#

@odd fable Theoretically that work flow could be applied to hair in place of dynamic bones

#

Right?

odd fable
#

yeah it should work reasonably well for some kinds of hair, but I think that most existing models probably don't have a hair setup that will look great with this

#

definitely a good avenue for exploration though, might be some awesome results

short crypt
#

Given me some ideas and things to ponder. Thanks!

odd fable
#

great to hear πŸ˜„

hearty lantern
#

@odd fable cheers for figuring it out mate

modest meadow
#

Anyone know if you can make ab object (light) world based and not attached to your avatar, or only a particle system?

inland sierra
#

so you can take better pictures?

#

but not have it in game?

modest meadow
#

Yup for in game

inland sierra
#

I don't get it

hearty lantern
#

@modest meadow I think there is a way to do it, i havent figured it out tho

#

something to do with fixed joints i think

modest meadow
#

Hmm gotcha, thanks!

frigid nymph
#

anyone knows a method to play a sound when collision is detected?

#

(character)

short crypt
#

just seen I've tried to find similar info to no avail

normal aurora
#

@harsh nest yeah, that's exactly why I wondered, I have seen quite a few people with them working, but I tested it just for my own special effect I was trying out and everyone else saw it black

tardy folio
#

How do I sync objects so players see that I'm moving it and that I can see other players move it?

#

Kinda feels like the entire world is out of sync too, togglable lights never worked correctly either.

harsh nest
#

@tardy folio on objects use VRC_SyncOject on trigger use AlwaysBuffer

tardy folio
#

Alright, I'll try it, cheers.

sturdy frost
#

would it be possible to have an animator on a object inside an avatar? and if so, is there a way to use a rigidbone thing to trigger animations?

warm niche
#

what do you mean exactly? @sturdy frost you can animate skinned meshes separately if that's what you mean, each with their own controller

sturdy frost
#

And is there any limits that vrchat puts on these animators? Like can you use whatever you want in them?

warm niche
#

you can have one controller per mesh, but it can play different anims

#

and yes, you can animate almost any property with them, including enabling and disabling game objects, changing materials, moving sliders in custom shaders etc

sturdy frost
#

Awesome. What are ways you can control Animators? Like how would you trigger animations from inside vrchat?

warm niche
#

using gesture overrides

#

so fingerpoint will trigger an animation for example

sturdy frost
#

Ahh yeah. and that'll transcend the past the avatars animator and can activate an animation inside an internal animator?

warm niche
#

ah ... eh no ... the gestures are on the Body mesh

#

but if you would enable another mesh with them, and have that mesh play an animation on active, you'd have triggered them both from the gesture if you catch my drift

#

it's fiddly and frustrating but it pays off figuring it out

sturdy frost
#

okay okay, cool cool. How about colliders or rigid bodys, can they trigger animations?

warm niche
#

I think so but I haven't messed with it, I know particle systems can spawn subemitters on collision and a lot of the collision effects you see are based on that or abusing that trigger

#

your avatar's colliders don't interact with other player's colliders

sturdy frost
#

okay cool, thanks for the help 😁

simple basalt
#

Sounds can be triggered to play on animation, right?

#

Might improve my hadoken thing to do that tonight

#

I'd like to be able to have said hadokens explode on contact with the environment but I am not sure world colliders work

warm niche
#

for particle effects they do

simple basalt
#

Oh cool! I should try that

#

Gotta have the best fireballs

warm niche
#

look at collision and sub emitters in your particle system

simple basalt
#

Neat

cold minnow
#

Can someone explain why only single pass shaders are allowed?

warm niche
#

not true, you can do multipass

cold minnow
#

Are you sure? I think I have read several times somewhere here that they weren't allowed

warm niche
#

yes, I have working multipass shaders ingame doing post effects on the framebuffer

hearty lantern
#

vrchat doesnt limit shaders at all to my knowledge

cold minnow
#

Thanks

odd fable
#

time to implement some voxel cone tracing GI then?

warm niche
#

yeah, doing distance field sphere tracing atm πŸ˜›

prime sky
#

any modellers/mappers in here who are searching for ideas? :P I don't want to be annoying but I think I have quite an awesome idea. I want to know if it is doable.

cold minnow
#

VRChat runs only in DirectX, right?

#

nothing of OpenGL

warm niche
#

dx11 yeah

junior drum
prime sky
#

oh sorry

#

didn't see the channel link

#

thanks for pointing at that

junior drum
reef spade
#

Is there a way to set up an offline testing environment so i can debug animations before it's gets screwed up by the vr controller interactions?

graceful stump
#

how do you make a ui work in a world i have it work in play mode but not in test on vrchat

wary path
#

It can't involve scripting and just warning

#

Screenspace UI stuff

#

Doesn't work in vr

clever apex
#

has anyone gotten the audiobank or jukebox component to work successfully? i'm curious since it seems to be one of vrchat's enigmas

dull umbra
#

@clever apex Audio bank only works for random playback order using the PlayNext RPC. For any other playback order, it overflows the playlist by 1 and throws a NullReferenceException every nth track.

hot stone
#

well, I /was/ making good progress on this shader

#

now I just need to account for lightmaps, but it's complaining I don't have a variable defined

#

then when I define it, it comments it out and says it's built-in

#

then returns to complaining that it doesn't exist

#

because it just commented it out

#

right well anyway

queen hearth
#

Are you able to sync shader effects to time using a sort of "bpm" system?

#

So could I pass a float into a time node as BPM and manipulate something to that beat?

warm niche
#

yeah but there's no way to sync it to the audio except keyframing it I guess

foggy cosmos
#

Gonna repost this since I'm super dumb when it comes to shaders, but does anyone have some tips on making a grayscale shader? Mine seems to distort/squish as well as make it grayscale. The skybox doesn't seem to grayscale either, but that's okay.

short crypt
#

I'm trying to make a Polaroid camera on my avatar but the render texture is always black when rendering for other players. I don't understand why it's not working.

#

Anyone have any tips they could spare? Itd be much appreciated.

#

Are canvases allowed on avatars?

#

Thats the only alternative I can think of

hearty lantern
#

@short crypt Cameras are forced local

#

So no one else can see your picture

short crypt
#

I've seen folks with them. Which is why I dont understand why it wont work.

hearty lantern
#

There is some work around

#

not sure how they are doing it

#

They all insist they arent hacking so im not sure how they get around it

short crypt
#

Smells a bit fishy huh

hearty lantern
#

yep

prime sky
#

searching for modellers/mappers/programmers who want to help bringing eSports Streams to VRchat. PM me if you are interested.

harsh nest
normal aurora
#

shaders which paint over the other objects in the scene as if they know where the objects' vertices are, how does that work?

#

I'm wondering how to get my splatter effects to stick at the right angle irrespective of the surface 😐

harsh nest
#

@normal aurora if you are working on world, you can use projectors for dynamic objects or generated mesh for static objects

dark sigil
#

I'm curious about that effect as well, are there any resources/examples I could take a look at?

frigid nymph
#

yea there are plenty namely depth test

supple meadow
#

Anyone know if lowering the 'update rate' on Dynamic Bones would help improve performance for other players? If so, setting that to 30 by default would cut dynamic bone induced lag in half, right?

warm niche
#

Anybody know a way to implement a form of randomization to an object on an avatar or world?
Such as creating a wheel to spin that will stop at a random point for a selection.
Or creating a box that will randomly select an object to reveal.
Etc.

warm niche
#

Send me a message if anybody has an idea. Messages are open

normal aurora
#

@harsh nest nah, I was going to try it for an avatar, but there are some challenges

#

I'm sure it's going to involve the camera depth but I think I have to fetch the normals somehow too

harsh nest
#

@normal aurora if it's just avatar texture then you can probably paint it in Blender

obtuse tide
#

@warm niche I'm curious how they did it in Spin The Bottle world

normal aurora
#

@harsh nest but it’s other people and the environment I’m planning to paint on top of πŸ˜ƒ

normal aurora
#

the camera depth texture is always empty in unity so it's damn near impossible to test anyway

harsh nest
#

@warm niche There is Randomize checkbox on VRC_Trigger that randomly selects between two or more actions.
@obtuse tide You can randomly enable one animation.

#

@normal aurora I think camera depth texture is set to shaders after opaque pass, so make sure your shader is in transparent queue.

normal aurora
#

it is

#

the problem I think is that the camera itself isn't set to the right mode

#

if I set it up using a script on the main camera, that one works

golden valley
#

If there is a direction light in the scene with shadows on the depth texture will be rendered

#

cause hard/soft shadows use that I guess

#

Test your shader in gaia night and you'll see it works

normal aurora
#

indeed, adding a directional light makes the preview screen work

#

...kind of, anyway

#

the texture on the game screen is a lot more intense for the same shot

#

and both of them make the transparent bits of my model vanish lol

#

oh, nope, it still only works when playing, it just had a residual render

golden valley
#

I know for sure the depth texture works in gaia night so that may be your shader

normal aurora
#

I think it's just that some bits are semi-transparent

#

and the depth texture considers that infinite depth I guess

#

if I switch those to "RenderType"="Opaque" then it renders on top of them but then they render slightly incorrectly without any effects applied

#

this is probably also why some people's cameras show half of me as nonexistent

low peak
#

How do I rig a look rotation or possible head tracking into a custom non-humanoid rig?

loud parcel
#

Hmm, I gotta know does VRC Pick up work if i put down a ragdoll model through one of my animations? Because I know the ragdolls have colliders on it

harsh nest
#

@low peak I think you can't, you can however use humanoid rig, I did a wolf with humanoid rig where I weight painted only neck, head and eyes.

jolly maple
#

hi, i have 2 question , maybe somebody know please tell me. is this possible make chair on player , and this is possible make collision on playermodel for another player , i mean if they'll try stand on me they don't fall down!

agile trout
#

Hey,
Does someone know howto turn a specific shader into a single pass stereo rendererd one?

agile trout
#

dm me if you know howto.

fervent tide
#

after I spawn a LOT of objects, they stop spawning, even though those objects destroy on a timer.

#

is there any way to make that work? am I not cleaning up the object sync properly or something?

#

maybe this is the wrong place to ask?

harsh nest
#

@fervent tide did you check log ? it might tell you what went wrong

fervent tide
#

there is no log file? at least not the normal unity one.. there is a gc.log and a vengine.log, but I dont see anything useful in there?

hexed zephyr
#

Is this the right place for asking about how to debug shaders?

normal aurora
#

on the topic of randomisation ... how

dark sigil
#

turn on advanced in the trigger system and when you choose what type of trigger to make, there should be a checkbox that says random or something like that and now all events associated with that trigger will activate randomly depending on what number you give to the event

pine pasture
#

hey Guys,

working on a world were friends and I can watch Anime together

#

using VRC_Sync Video Player

#

is there a way to Sync the video for everyone?
For example someone joins some minutes later, he'll be at the same position in the stream as we are

#

how to do that?

normal aurora
#

@dark sigil if I'm shuffling say 48 cards... I can probably have 48 events and use that to pick one card, but then to pick the next card I'd want to choose from the remaining 47, which seems hard

dark sigil
#

hmm

normal aurora
#

I guess a dirty technique is to accept that it will pick an already chosen card some % of the time and just run the loop more times

#

and try to set it so high that it's always shuffled by the end somehow

#

I had wondered whether it would be possible to make a physics-driven shuffling machine but I figured it would be too reliable and end up exactly interleaving the cards or something

dark sigil
#

I mean I guess you can make a pachinko shuffling machine that has a certain ball tied to a certain card

glass cosmos
#

Does anyone know how to change the material of the snail trail renderer? It seems to be fixed to the Ink material

dark sigil
#

gotta edit the shader for that

glass cosmos
#

There's no way to just switch it to another material

#

I made a duplicate of it to change the color

#

So I could have more than one color option

normal aurora
#

fun fact: PMD file format contains english bone names, meaning that pulling out the japanese names and translating them is not always the best strategy

pine pasture
#

Hey, I want to add some Seats in my World

#

Using VRC_Station for it, the player can sit on it but can't get out of it. why?

#

"Disable Station Exit" is NOT selected

topaz flare
#

Attempting to randomize the animation played by a gesture override. Tried using anim submachine to no avail. Anyone have any suggestions?

hallow storm
#

can you use a timer? it wouldn't be random, but if you could make G1 the first minute, and G2 the second minute... when you activated the gestures would be sort of random

#

or swap them by animation...

warm niche
#

Deferring event of type SetMaterial because dispatcher is unavailable.
UnityEngine.Debug:LogFormat(String, Object[])
VRCSDK2.VRC_EventHandler:TriggerEvent(VrcEvent, VrcBroadcastType, Int32, Single)
VRCSDK2.VRC_EventHandler:TriggerEvent(VrcEvent, VrcBroadcastType, GameObject, Single)
VRCSDK2.VRC_Trigger:ExecuteTrigger(TriggerEvent)
VRCSDK2.VRC_Trigger:ExecuteTriggers(IEnumerable`1)
VRCSDK2.VRC_Trigger:OnTriggerExit(Collider)

#

plz help

#

this is OnEnterTrigger on a simple setup

#

does anyone know what "dispatcher is unavailable means?" Thanks

dull umbra
#

@warm niche Sounds like you're running in editor? Certain event types won't work in the editor - you have to be running in VRChat.

warm niche
#

? that is a shame because I have alot of testing to do and need a way to test hundreds of triggers in the editor, what would be the best way to make sure Triggers work in the editor?

#

and which triggers exactly need to be tested in Build because that is a huge problem for debugging games

#

I need a way to have a way to have debug output, and step through the trigger system in a logical way to make sure it works, how do you guys deal with this

#

what is the "Dispatcher" and how can I simpulate it for local testing

#

Simulate it... I am working on Large scale games and really need a way to test, its taking me 20-30 mins per upload / download just to test in game, and local testing seems to nor work? Is local testing fixed?

#

Also is there any Optimization Profiler or tool that people use to Measure in room performance.... I have seen some users be able to pull up stats like @sudden smelt and others, can we please have access to these tools? I would like to see stats, and data on the world so that I can see whats wrong while the build is running online. How can I do that the right way if I can not test in the editor, and then get no feedback when the world runs.. I think there has to be a tool made, and an Editor Script that helps with these two issues

#

Seriously though, I am taking on some really big projects, and any input on how to test triggers in the editor would be helpful, and exactly which triggers will not work so I can save valuble time, I was thinking that it is my logic, and I am running in circles? Is this information from @dull umbra accurate? @sterile cipher

dull umbra
#

I do the majority of my logic inside Animators - they can do just about everything triggers can do and they can be tested, debugged, and visualized in the editor.

warm niche
#

Thanks @dull umbra I figured that is the next step to go towards, so you are saying AnimationInt / Bool etc work , but setgameobjects and others do not? Is there a doc or reference that has a list of working Triggers that work in the editor?

dull umbra
#

Not really. It's mostly just trial and error. I'm not even sure if AnimationInt/Bool work either, but when testing, you can manually trigger these in the editor.

#

I try to keep the trigger system surface level, so only the things that VRChat directly has control of uses it.

warm niche
#

Ok thank you, this should be made very clear to people in the documentation

#

it would turn off alot of Devs to even work with the SDK as it seems "broken"

#

novice users will run into this problem 100% and its not clear that these triggers are not testable in the Editor

dull umbra
#

I wonder if any of the VRCat community devs would have time to build a custom dispatcher that works in the editor... It should be possible to link to the VRCSdk.

warm niche
#

They should, because if we cant test locally, the Large scale games. Even with playmaker will not be testable

#

as they have to tie into VRC triggers anyways

#

we got more logic, but it will not be an efficient way to test unless we can step through, and add debug output, and go through our logic before even uploading anything...

#

for me its a big deal because I am setting up audio and video control panels, and they need to scale

#

Thanks for the insight @dull umbra

dull umbra
#

No prob. πŸ‘

warm niche
#

I can confirm this was the case.. I rebuilt original Logic setup, and when testing in game it works, so for anyone wondering why a trigger isnt working in the editor.. try Building and Uploading.... not the best cycle, but def let people know this

wide umbra
#

I got a problem with my particle systems i basically have a particle system witch works fine when its not stuffed in a subemitter cant post immages here sadly

warm niche
#

hey for making accounts

#

i messed my name i made it like TwinTail. i want to edit it and make it to Twintail or twintail

#

think you can add Edit profile so i can fix my username

wide umbra
#

I got a problem with subemitters this is how the particle effect looks when not put as a subemitter

Working: https://imgur.com/BiEmSlZ

And this is when i am using it in a subemitter

Not Working: https://imgur.com/upeDjbl

I am using Unity Version: 5.6.3p1 Personal (64bit)
I am on a Windows 8.1 PC

Already thanks for helping

dull umbra
#

@wide umbra I can't really tell from the images, but I guess it's running too fast? Sounds like you have more than one particle system driving the same sub-emitter. Each sub-emitter should only be parented to a single particle system.

dull umbra
#

@warm niche I forgot to mention this, but it's pretty important. Whenever you're doing logic on animators, avoid attaching the VRC_ObjectSync component to the same object as the animator. It will try to interpolate animations between clients which will wreck havoc on your logic.

wide umbra
#

@HardLight680#9731 yeah there are 4 particle systems attached as a subemitter but efen wit just one it still runs too fast and also messes up some particle spawns

normal aurora
#

interesting

#

there's no way to use VRC_Data Storage right? it's like the events are hooked up for it but there's no way to change what's stored

summer eagle
#

Is it possible to rig in unity an object that follows you but kinda lags behind? Or perhaps a bone you could designate to slowly follow you at a certain pace? (Context: avatar addon pets that follow you)

normal aurora
#

sounds like dynamic bone

#

given how much I see some people's hair lagging behind their head movement lol

summer eagle
#

But how do i make the flying pet bird lag behind me without using a literal line of bones to rope it with me?

normal aurora
#

why without? πŸ˜ƒ

#

but if you really want to avoid bones, you can try something like a Spring Joint maybe?

summer eagle
#

Spring joint? Ill have to research that, never used it before

normal aurora
#

essentially you put a rigid body on both sides and it acts like a spring, you just set the parameters of everything to make it less springy / slower

summer eagle
#

Ohhh! That sounds like what im looking for.

#

So i make the master bone (spine) and a slave bone (connected to spine but not physically connected) and apply spring to the slave bone?

normal aurora
#

I'd make it under Armature, but maybe even there, it might still act like it's directly connected. I haven't experimented with making something not follow the object it's under

#

maybe the next level above that would work but I really haven't tried

summer eagle
#

Yeah, wish there was an sdk addon so i can test my avatar in unity instead of uploading, testing, logging off, adjusting, then repeating the process 30 times

normal aurora
#

physics stuff is mostly testable but then randomly something will be broken only in vrchat :/

summer eagle
#

Exactly

normal aurora
#

I can't even figure out how to move an object from one place to another at this point

#

lol

#

I can spawn a new object from a prefab, and I can destroy an object

summer eagle
#

Rigidbones to fixed joint question (in regards of mirrored bones) how do i make the fixed joints move the opposite directions from the master bones?

normal aurora
#

other than using a contraption of some sort I haven't found a way to do that sort of thing

summer eagle
#

Bummer

normal aurora
#

the problem essentially resolves to "how do I make a series of connected objects where rotating A one direction rotates B the other direction"

summer eagle
#

I want my wings to move the opposit directions from the arms

normal aurora
#

I assume connecting them to the opposite arm doesn't just work

summer eagle
#

Nope

normal aurora
#

rats πŸ˜ƒ

summer eagle
#

The results were hilariously frightening

normal aurora
#

I want to do wings but I'm just not sure how to make it work

hearty lantern
#

What do you want them to do?

summer eagle
#

If i could make the fixed joint move local to itself but mirror the amount of rotation the master arm is moving that would do it

#

What im trying to do is make the wings look more alive by mirroring the movement of the opposite arm, from the bicep to the forearm, the rest jiggles.

normal aurora
#

I just can't find a good way to move the wings that doesn't make it immediately obvious that I'm controlling them

summer eagle
#

But i also need them to only move slightly, not full 100% movement

hearty lantern
#

That would be cool

summer eagle
#

Aye

#

Putting dynamic boneson the mirrored bones themselves seems to break the whole thing

warm niche
#

is anyone able to help with a shockwave distortion shader?

normal aurora
#

depends what kind of question is coming about it

warm niche
#

?

normal aurora
#

you didn't say what the actual problem is

#

so how do I know whether I can help or not?

warm niche
#

oh... i should say i'm at 0

normal aurora
#

ah

#

there are tutorials about using GrabPass to do it

warm niche
#

i can do steady distortions or maybe scrolling or rotating in shader forge

#

but shockwave? no idea

normal aurora
#

ah, I've never used shader forge, I've been writing mine from scratch

warm niche
#

i see

normal aurora
#

looks like I didn't bookmark the last tutorial I found

warm niche
#

i wouldn't be able to write script... coding drives me mental lol

#

i just want a simple either dome-like in&out pulse, and/or an expanding ring... that's all lol

normal aurora
#

that sounds interestingly tricky lol

warm niche
#

i've seen both done in vrc

normal aurora
#

I know how I would do a sphere but rings are something I don't know how to model

warm niche
#

i wonder if it's something as simple as a spherical distortion but applying flat to a ring mesh, and then scaling the mesh πŸ€”

#

do a shockwave effect by using the grab pass and shifting pixels in the franebuffer

#

seems gimmicky though

normal aurora
#

GrabPass is definitely the way to do it

warm niche
#

yeah i really dunno much at all about this

#

make rings animate outward and add that refract/distort effect

normal aurora
#

yeah I see how I'd do it now actually

#

I'd figure out where the intersection point is programmatically model the refraction like that

#

but it's not like I could do real refraction either

warm niche
#

well if you see my avatar is in my pfp, the speakers on the ears, i want to have a sonic blast effect

#

Nah just a pixel shift is enough

normal aurora
#

yeah, well, a uv shift

warm niche
#

i'm pretty noob at shaderforge too...

#

i did find one already made shader that does a shockwave-like distortion.. but it's a $10 unity asset >.<

normal aurora
#

yeah there's a lot of nice stuff there... gotta be extra careful though that they haven't made the shader to require a script to run it

warm niche
#

ofc

#

i don't have money though

hexed zephyr
#

Hey, I'm messing around with the stencil shaders and I've noticed that it seems to stop working at certain distances and angles... Is there an explanation for this? I've no idea what to think. http://sno.sh/9u

prime sky
#

we are currently searching for people who want to build a esports public viewing arena with us. Send me a PM if you are interested in the project!

hearty lantern
#

@prime sky Just a heads up dude its against the rules to send the same message across multiple channels.

prime sky
#

:C ok

wary talon
#

Alright. Kinda' new to this whole VRChat world business, so I'm unsure of how difficult this would be:
So there's that Mario Kart world where you can actually drive a Kart. I'm sure many of you are familiar. I recognized this world's use of the basic Unity car and was curious as to how the creator managed to sync VRChat players to an external character controller like a car and have it work.

#

I wanted to know how difficult this was to accomplish for a developer like myself who is skilled with Unity, but not skilled with VRChat's SDK specifically.

normal aurora
#

I've tried like 12 different workaround combinations so far to try and get a camera to re-enable and none of them seem to do it 😐

dull umbra
#

@wary talon The VRC_ObjectSync will handle typical synchronization tasks. Use a SendRPC TakeOwnership event on entry to make everyone else sync up to what the driver sees. There's also a bug in VRChat right now where ownership transferring doesn't work unless the object also has a VRC_Pickup component on it. So just add one to your object and uncheck the Pickupable box.

wary talon
#

Fantastic advice!!

dull umbra
#

The Kart prefab is pinned to the #world-development channel too, so feel free to use it as reference.

normal aurora
#

I was just earlier wondering what happened to SendRPC

dull umbra
#

@normal aurora Make sure you have Advanced mode enabled, or SendRPC isn't listed.

normal aurora
#

oh they hid it behind that now

heady lagoon
#

Anyone getting auth errors?
signing into SDK just now, having internal server error

dull umbra
#

@heady lagoon See announcements.

heady lagoon
#

k

normal aurora
#

I wonder if that's responsible for events from scene not being available too then

heady lagoon
#

Go it, thanks- was pannicing worrying my world was corrupted or some such lol

wary talon
#

I imagine the biggest challenge is going to be inputs. I'm planning on attaching the player to an existing character controller with special attributes. Will syncing the VRChat "jump" button and the new controller's "jump" input be difficult? I suppose I'll find out!

dull umbra
#

@wary talon I think there are a few people who have started working with the other player controller scripts. From what I've heard, directional movement works, but jumping, crouching, and sprinting are limited to keyboard inputs.

wary talon
#

That seems like an odd limitation

dull umbra
#

It's to do with how the scripts are implemented. They use Unity's Input.GetAxis for movement which handles multiple input devices. For other movements, they use Input.GetKey which is limited to keyboard.

wary talon
#

That makes sense.

#

And the rest of the input scripts that VRChat uses are locked behind closed-doors I'm willing to bet, eh?

#

All of the ones that pertain to special actions

#

If there were a way to read gestures, or something

dull umbra
#

You could technically get some inputs from the OnKeyDown/OnKeyUp VRC triggers. They support up to 20 generic gamepad buttons, so it would depend on how those buttons are mapped to Rift/Vive controllers.

wary talon
#

Is there a diagram for those inputs and what they map to?

#

All I really need is vertical, horizontal and jump and I'd be set

dull umbra
#

Haven't really checked, but I'd think there's one floating around somewhere.

#

If you really get stuck, you could probably make a pickup item that triggers a jump when you use it.

wary talon
#

It should be noted that I've never made anything more advanced than a pickupable object before in VRChat, so perhaps this is a bit ambitious...

#

I'd just like to have a button that attaches the player to the root of my custom character controller. I think I can handle the rest from there. I hate to ask to be spoon-fed, but I could use a bit of guidance.

#

Thanks for your help so far, @dull umbra

dull umbra
#

@wary talon You could probably achieve that using a VRC_Station. But it gets kind of tricky depending on which controller you're using. If the controls are aligned with the camera, but pressing left or right causes the character to turn, then you might find yourself spinning uncontrollably.

wary talon
#

So, in Unity my character controller is behaving normally, but during testing it just floats in the air. I'm guessing the custom physics scripts aren't playing nice with VRChat?

#

Do I need to do special things with the scripts in order for VRChat to accept them?

dull umbra
#

Not that I'm aware of... Custom scripts won't work, but anything in the Standard Assets package should be available. Do you have any other VRC_Components attached to it? Also check to make sure you haven't added any colliders near the controller's feet.

wary talon
#

Oh. I didn't know that. What makes the Standard Assets like the car so special that VRChat allows them to work then?

dull umbra
#

Custom scripts can't be packaged inside the asset bundles used by Unity for uploading worlds to VRChat. So only scripts that are already compiled into VRChat can be used.

wary talon
#

Ah ha....

dull umbra
#

I think that's mainly limited to Standard Assets, PhysSound, and DynamicBone.

wary talon
#

Well then my entire project is bunk then. Wish I'd known that sooner.

#

I should'a known, though. That makes a lot of sense now that you explain it

teal summit
#

Is there any way to save player state to a scriptable object or something? How much data can be stored locally?

#

or does it all disappear by the time the player leaves?

warm niche
whole crystal
#

Is VRChat gonna use a newer unity version anytime soon or fix the lighting issues? a lot of shaders that are reliant on light simply dont work/stay black

#

Or is there a trick to use em

wary talon
#

Does this issue occur with baked lighting as well?

#

Since optimization is super important when it comes to VRChat worlds, I would be using baked lighting at whenever possible, right?

ivory bluff
#

@whole crystal use the tree shader, try the last one in the list

#

@whole crystal make sure to play with sliders, it usually halves the texture at first. just correct it via sliders.

whole crystal
#

nono, I got a custom shader that is supposed to work with unity 5.6.3 already with 5.5.x i believe, with the regular cubeds or unity shader the skin(or whatever i select it for) works fine, but with this custom shader it just turns black, unless i shine a light directly on it, like the lamps in the avatar room

marble fox
#

is it possible to add a camera to a particle? i wanna make a drone that's controllable with a camera attached to it

autumn hatch
#

To a particle, not so sure. However you can make a render texture and point a camera object to it to have a screen showing a live feed.

marble fox
#

the drone is a world particle with a mesh renderer and gesture overrides change the velocity over lifetime to controll it, is there any way to get a camera to follow the drone?

autumn hatch
#

Just parent a camera object to the drone itself and that should be it

marble fox
#

ok thx, i'll try that

hoary iris
#

Hello! Im trying to create a shader where the texture dissolves but only once. I got the dissolve working but im not quite sure what to do to get it to dissolve only once

#

With the current setup, my mesh doesnt render

hazy spear
#

how can i unhide assets? because i want to duplicate the "unlit/texture" shader and add an outline width

sweet crystal
#

I have a problem where the animators in my world reset when a new person joins

atomic shuttle
#

Anyone have any ideas on youtube URLS for the VRC_videosync player just being static??

#

certain ones, specifically old video

atomic shuttle
#

Lots of youtube links on my video player are static, randomly

#

Cant hear any audio just static

harsh nest
#

@fleet tundra sorry, see last pinned message in this channel

fleet tundra
#

Wait, what? What does the VRChat quality settings have to do with the problem that I am having? :0

#

@harsh nest Did you read all of what I typed? :P

median flare
#

There's one under it

harsh nest
#

@fleet tundra last pinned message by VRPill says: "REMINDER: No discussion about ripping games in the Discord unless you were given explicit permission by the games devs to do so and discuss"

fleet tundra
#

Ah, that message is not in this channel @harsh nest , but thank you for clarifying that @median flare , I appreciate it

#

oh, wait. It's all the way at the bottom, my bad

#

I'm tired :\

dull umbra
#

@atomic shuttle Static'y videos is caused by certain old videos on youtube using a video codec that is incompatible with the VRC_VideoSync

atomic shuttle
#

No fix just skip those for now?

dull umbra
#

That's all we got for now - as far as I understand.

atomic shuttle
#

Thank you for clarafication πŸ˜„

#

also is anything supported besides Youtube URLS?

dull umbra
#

Can't really say anything on that - I haven't really tested anything with them myself.

warm niche
#

@atomic shuttle accepts YouTube, Vimeo, and DailyMotion URLs and also hosted mp4 files

burnt forge
#

Anyone in here a coder and well versed with Cubeds and unity?

All my avatars are fucked because cubeds decided to turn into a normal mapped shader.
https://i.imgur.com/0k67SVo.png

Console error:
Could not create a custom UI for the shader 'CubedParadox/Flat Lit Toon'. The shader has the following: 'CustomEditor = FlatLitToonInspector'. Does the custom editor specified include its namespace? And does the class either derive from ShaderGUI or MaterialEditor?
UnityEditor.DockArea:OnGUI()

warm niche
#

cubeds has a custom editor script for the material editor, have you edited or removed files in the folder?

dark sigil
#

yeah looks like you removed the file it uses to format how it looks in the editor

#

or you have it in a different folder

warm niche
#

it's a public class ShaderGUI type

#

\Assets\Cubed's Unity Shaders\Editor\FlatLitToonInspector.cs

burnt forge
#

I mean it looks like that regardless of what I do

#

and no, none of the files are missing

#

Folder structure is that of the github

#

Reinstalling cubeds or even doing a new project, same result

warm niche
#

are you using the right version of unity? any funky asset store things in your projects?

burnt forge
#

Ive not changed my version of unity, been using the same version 5.6.3.p1 since January.
And Cubeds not been updated in any meaningful way unless you consider .pngs updates.

Only asset store stuff I have are for particle materials

warm niche
#

good, yeah, that shouldn't be a problem

burnt forge
#

Basicly I cant work on any of my avatars cus of cubeds.
And theres no way in hell Im using standard shader

warm niche
#

πŸ˜„

burnt forge
#

and theres no way to contact Cubed

warm niche
#

hey, it's pretty good for some stuff

burnt forge
#

I mean if you wanna loko like unity chan sure

warm niche
#

nah, I meant metallic things etc, not for toon models πŸ˜ƒ

burnt forge
#

sort of

warm niche
#

and cubed's also on this discord, you can shoot him a message or ping him I guess

burnt forge
#

You cant message cubed

#

hes private

warm niche
#

makes sense I guess

burnt forge
#

also that issue report is dead

#

cubed doesnrt read it

#

like

#

last response was in december

#

Pretty sure he just doesnt dgaf about it

warm niche
#

other than the radeon issues the code is very solid

#

you have all the obvious things sorted, I wish I could suggest something else but I'm at a loss

#

it's cubeds with some added stuff

burnt forge
#

Does it have everything or do I need cubeds too

warm niche
#

it's selfcontained, but it will probably break on the editor too

#

worth a try

burnt forge
#

Seems to work, but it has just one flat lit option?
So I guess you need cubeds fro distance fade etc

warm niche
#

yeah just the flatlit with extra lighting tricks

#

strange how that one doesn't throw exceptions

burnt forge
#

if I want the others, do I install this ontop of cubeds or

warm niche
#

you can copy over the special effect ones, I don't think they use the custom gui script

burnt forge
#

just the .shader files?

warm niche
#

yeah that should work and have exposed properties for editing

burnt forge
#

Ya seems to work

#

So normal flat lit is just fucked for me, for some unknown reason

warm niche
#

awesome, well at least you have a decent flatlit with the gui for the time being

burnt forge
#

Yeah thanks for linking that one

warm niche
#

yw! the added ramps and sph slots are great for some stuff

burnt forge
#

Sph = speculars?

warm niche
#

sph = spherical environment maps for cheap specular/rim shading, cheap way of emulating materials

#

used in a lot of MMD models for gloss and skin effects

#

doesn't use UV but uses normals to map, usually used to fake reflective material and speculars

warm niche
#

Does anyone know what type of texture map this is?

final wigeon
#

@warm niche It's 3 grayscale maps packed into the R G and B channels (And possibly A if there's transparency)
You'll probably need to make your own shader to split it and send each one to where it needs to be doing what.

whole crystal
#

Is there any way to put a light on my avatar that only shines on my avatars mesh alone? Usually unity does that by setting the Meshs Layer to X and the Lights cullmask to X as well, but it doesnt seem to work in vrchat(works fine in unity editor tho)

harsh nest
#

@whole crystal maybe you could hardcode the light into shader you use

whole crystal
#

if only I was that smart

turbid wedge
#

I mean

#

Theres plenty of people who could do it for you

#

I'd offer but im real full on commissions right now

pale violet
#

does anyone know why my streamed audio, using the video sync player, only works for the master user in the room? if i trigger a cube with a streaming audio source attached, the others will see the cube but not hear the audio. even if they trigger it first, unless they were the first person to enter the room. is this a bug, or just some settings i need to change?

glass cosmos
#

Has anyone experimented with a combination of dynamic bones and rigid bodies to make dynamics intractable between models?

tender orbit
#

Does anyone know why my particle systems refuse to allow world spawning? I've been using the method with RigidBodies and Fixed Joints to try and make a liquid drip from a spot near the hand, but it'll just spawn where the hand rests in it's default animation pose

silent cape
#

i think i saw a tutorial on making a particle effect follow your mouse cursor, mabye the same idea could apply tp your problem? i will see if i can find that video @tender orbit

#

if you replace the mouse cursor with the part your talking about, it seems like it COULD work. then again, im not the best at scripting or particles.

tender orbit
#

Ah, alright

burnt forge
#

Anyone here worked with stencil shader (flat lit one) and know how to make it so that everything inside a sphere is visible but not outside?

warm niche
#

@burnt forge its simple, it's two spheres, one slightly larger, the outer writes stencil buffer only, the inner reads stencil and draws when not equal

harsh nest
#

@burnt forge or in shader you could check camera distance from sphere center

golden valley
#

you can just do two passes where one pass culls front faces and the other culls back

#

no need for two spheres

#

write some value >0 on the one that culls front faces and write 0 on the one that culls back

#

anything that should be visible should check for that value written on the cull front pass

warm niche
#

oh that's elegant too πŸ‘πŸΌ

golden valley
#

i'm pretty sure the view direction for both eyes should be parallel

#

maybe you mean the center eye position? It's possible to get but not very easily

warm niche
#

doesn't the effect look much better with proper single pass stereo? @warm niche I'm curious

obtuse tide
pine crest
#

I remember hearing that was caused by manipulation of the SDK, which I think is something you'd not want to do.

#

@obtuse tide

warm niche
#

world matrices are a dark art

pine crest
#

But Im not quite sure.

obtuse tide
#

Yeah I was told no scripting form was allowed on the models so I'm puzzled about how he achieved that

#

It depends the SDK is one part, the client is another, but probably some of it

rough sleet
#

@golden valley This is not true for all HMDs, the Pimax 8K has canted screens so the view directions are non-parallel.

#

SteamVR added support for HMDs to specify non-parallel screens shortly after the Pimax 8K was announced.

warm niche
#

yeah its the same renderer

#

some stencil and layer stuff is different because of the vrcchat GUI but it helps for debugging

rough sleet
#

Make sure you have your graphics settings set to match VRChat's if you want to be as accurate as possible.

#

Search this channel for "VRHigh" and you'll find a picture posted by hackspanner with the quality settings.

warm niche
#

that's the coords of the camera, it has nothing to do with the viewdirection

#

you need to convert the UV position into worldspace by applying the object2world matrix

agile trout
#

des anyone know howto use the YouTube Sync component?

inland sierra
#

@agile trout Youtube Sync is deprecated

agile trout
#

So, whats the new one then?

inland sierra
lethal girder
#

how to make mini maps work in vr? https://streamable.com/ssdte (i know the position of minimap is terrible, i thought putting it in center will be able for it to appear in vr xD)

dull umbra
#

@lethal girder Check out the VRC_CombatComponent's VisualDamage parameter. You can attach a prefab to the eye position of players in your world, so it doesn't have to be attached to the screen.

#

It's local only, so it doesn't show up for others.

lethal girder
#

i dont know where to start, i tried but, what prefab exactly? i used a plane with display on it as prefab and it sent me flying. then i disabled the collider but i can't see any part of the prefab

#

plus i can't teleport to the arena anymore, it just respawns

dull umbra
#

@lethal girder Check VRCSDK/Dependencies/VRChat/Resources. There's a prefab there setup with all the necessary parts. It's got a weird script on it that's required which moves it around and scales it a bit, so I just put an animation on it that locks it's position to 0 and scale to 1.

#

After that, you can just add your object as a child.

fading sky
#

anyone working with overlay shaders or shaders in general which affects areas? i'm having an issue where my shaders sometimes cause player nametags to disappear, particles to stop rendering and menus to stop appearing - obviously that's not what i want but i cant figure out how to fix it. anyone got any clues? been at this for ages now without any success :c

tldr: trying to make a shader which cause everything to be black and white within a sphere but it has a nasty side effect of also removing peoples nametags~

wintry portal
#

Render at transparent - 1

harsh nest
#

@fading sky your overlay probably renders before the menu, writes into zbuffer and is closer to camera then the menu, so the menu thinks something is already there
so you can switch of zbuffer writing: ZWrite Off
or you can switch to queue Transparent which I think has ZWrite Off as default
or you can make full transparent pixels not render (and not write to zbuffer) with clip(finalColor.a);

fading sky
#

Thanks guys, I'll take a look. Right now my ZWrite is already off but I'll try and render at transparent -1

fading sky
#

Yeah, transparent - 1 seems to have fixed it! Now I feel a little silly, I must've tested every render option except that lmfao, anyways thanks for the help guys, appreciate it.

burnt forge
#

@golden valley since Im using the flat lit toon stencil shader / mask I cant find anything in the sahder code that says Cull, Pass or Front.

#

Only thing is: Shader "VR/SpatialMapping/Occlusion" {
SubShader {
Tags { "QUEUE"="Geometry-1" }

// Stats for Vertex shader:
// d3d11: 8 avg math (8..9)
Pass {
Tags { "QUEUE"="Geometry-1" }
ColorMask 0

golden valley
#

Add it yourself to the pass

#

interesting that it's Geometry-1, what exactly are you trying to do?

burnt forge
#

I dont code so idk how. xd

Thats the default stuff in the shaders code

golden valley
#

What does the shader do by default?

burnt forge
#

Its a flat lit toon shader with stencil and a flat lit toon mask shader.

#

I mean it works, its just that I want to make it so that only whats inside the sphere when viewed from inside, is visible.

golden valley
#

Unfortunately it's going to take a bit of coding to fix it up not way around that really. you could try amplify or shader forge

warm niche
#

Add Cull Front in a new line before Pass {

normal aurora
#

so I happened to hear something about the trick to getting avatar cameras to work and tried through every combination I could think of and nothing worked. back to the drawing board I guess

harsh palm
#

i've been getting conflicting information about that very issue.

#

that 1. cameras no longer work in the game and you need modified SDKs to do it , or 2. they work and it's voodoo

#

so i have no idea now

north dust
#

yo, would this be the place to ask something about making a dank af gesture?

#

I want to make a gesture where he spawns a static gameobject cube that is invisible, and have that cube play the "KIRA QUEEN" sound. then later i want to press a button and have the click play, then have the particle of explosion play with the sound of the explosion ON the cube, BUT i dont want the cube to follow me as a player.

tired plume
#

xLePlay, place the empty gameobject in your scene but don't make it a child of your avatar (so it won't follow you). Add the audio sources and particle effect you want to it. Now you'll need two animations if you want to trigger the explosion separately. Have one animation trigger the game object/kira queen sound and the other trigger the explosion effect then assign the animations to whichever gestures you want.

north dust
#

tidus

#

@tired plume im pretty sure if i dont have it a child of my avatar it wont be uploaded

tired plume
#

I meant don't make it a child of any of your bones, sorry @north dust

north dust
#

godamnit @tidus lol

#

@tired plume i already went through the trouble of placing it out of my whole avatar

#

but yea, i basically do not want the audio file and particle file of the explosion to follow me around once enabled. what do i do

#

reason being is anything kira touches turns into a bomb, and i wanna mess with that in vrchat lol

#

@tired plume it still follows me

tired plume
#

Then you might try in the animation itself, setting its position to a specific set of coordinates

#

@north dust

north dust
#

but then if i do that then when i activate it, it will be at my feet @tired plume

tired plume
#

huh? not if you use something other than 0,0,0 for your coordinates

north dust
#

yea, but it will always be in that one spot

#

thats the problem

#

i want it to be dynamically chosen when i lay down the audio particles, and then when i move to a new location, and activate them, they activate where i placed them originally

#

@tired plume What if i apply the rigid body directly to each of the things i want to stay put?. and have them freeze xyz movements

tired plume
#

That might work. I originally misunderstood and thought you just wanted to spawn an object that didn't follow you. I didn't realize you wanted to dynamically place it.

north dust
#

my problem with that is that one gesture activates the smoke to let me know where the thing is, then the other activates them, but if i activate them seperately then wouldnt the explosion still be near me?

#

well i do want something to not follow me

#

but i then want to activate it and have it play the sound of a click on me, and show the explosion on it, and play the explosion audio on it

tired plume
#

the explosion audio and particle effect would be children of the game object, so just trigger the animation for those while the first animation is still active

north dust
#

well thats the thing

#

i cant get the first animation to stay in one spot in the first place

#

plus what scaling and everything do i pick?

#

so if i want something. im making an empty game object. i have made it have 1 mass, no drag, no grav, freeze all the things. now, i go into animation and activate it via first gesture it then plays the audio of the primer via attribute.

#

will it godamn follow me @tired plume

#

cause i DONT want that

#

whenever i activate the gameobject, i want the explosion and effect to happen where i activated it. i then move away, and use other gesture to activate the particle gen child of it?

#

or what

#

cause i wanna blow my brains out rn

tired plume
#

So after looking into this some more I'm not sure what you're wanting to do is possible. Since the game object is a child of the avatar, it is also a child of its transform. That means the child will always move with the parent. Since the gameobject has to be a child of the avatar in order to be uploaded I'm not sure there is a way around this. I mean, someone more knowledgeable than me may know of a workaround, but thats what I gathered from reading the unity documentation.

barren basalt
#

@north dust So just a thought I had (by no means am I good, but sometimes its the idiot that helps) but what if you were to have it set at a certain distance from you? Like have it go out 20 units and freeze, allowing actions to follow from there (make it a parent to the rest of your goal)?

north dust
#

nope

#

i tried the transform option on the gameobject im now using for efficiency

#

it still follows my avatar

#

im gonna try adding the max drag i can on angular and normal, to see if it stays put

#

as drag is the resistance of moving, having a shiit ton of it may help

#

heres hoping fellas

#

spoiler alert it didnt work @tired plume @barren basalt

#

@brave patio plz help me @tired plume

barren basalt
#

rip

burnt anchor
#

anyone knows good distortion shader settings?

verbal basalt
#

@north dust have you tried a particle system yet with world particles?

north dust
#

yes

#

the particle stays in place but i cant get the explosion and audio on it to spawn in the first place, let alone where the world particle was placed

agile trout
#

Okay, does someone know if its possible to stream youtube streams into VRChat? I got videos working, but not actual streams

autumn hatch
#

Actual live video is not working yet

agile trout
#

how did the void do it tho O_o

autumn hatch
#

Technically it can be done through webpanels I believe, however that is not recommended

#

You'd have to ask the world author, I can't answer that

agile trout
#

aight, thanks anyway ^^

quartz slate
#

oi how do I make a camera to take pictures with and use responsibly so I dont crash everyone

warm niche
#

100 billion particle camera πŸ˜„

pale violet
#

i've spent a couple of hours trying to get PhysSound to work. my old project does still seem to have it going. but the same settings don't work in the new one. and i opened the PhysSound demo scene, there's no sound in it, even if i add pickups and throw things around. anybody know why?

pale violet
#

i just realized that it only works in unity's preview, in vrchat there's no sound even with the old project.

#

i knew physsound wasn't working with fast hits, i was told, but does it work at all?

dull umbra
#

@pale violet Last I heard, there was a bug where PhysSound doesn't work unless there's another person in the room with you.

pale violet
#

@dull umbra ah okay, kind of sucks, but i did get a pretty good audio trigger going, just doesn't have the pitch changes.

sweet crystal
#

Has anyone gotten LOD fade to work with a custom shader?

drifting egret
#

This might be a bit of an odd question, but how would I get this "glowing writing" effect on a particle system?

#

I currently just have a 2D texture below my avatar (similar to image), but now I want to add this glow effect to it

stiff lily
#

Emission probably

drifting egret
#

Ah, that's actually pretty close to what I want. But how would I go about adding those red "streaks" on top of that?

stiff lily
#

i don't know if that's possible with just 2D

warm niche
#

I have a rigidbody / joint setup on one of my avatars, but when I move the object, it bounces around ungodly fast like teleporting almost. It does what I want it to except for the amount it moves, Is there any reasons as to why it would be moving so much? I am newish to playing with joints / rigidbodies.

worthy carbon
#

Hello, is there any way to have a particle system play on collision event of another particle system at the moment?

north dust
#

yo

#

ive got a question for ANYONE who can answer this

#

its been driving me crazy

#

SO, i have a world particle. said world particle when spawned moves forward on the z axis relative to the spawn, so it moves forward from where i spawned it. then

#

when it collides with anything, it kills the particle and sub emits the visuals of an explosion particle i have.

#

my problem is, i want to trigger and play audio of the explosion on the death of the particle where it dies. it needs to be dynamic, and im having the worst time trying to do it

#

it cant use scripts either, as vrchat does not allow scripts

hearty lantern
#

@north dust I don't think it is possible to trigger audio on particle collision without scripting.

#

I've tried myself and couldn't figure out a way around it.

north dust
#

G1fan, my dude, literally a little while a go someone said that you cant play audio on the world particle, that it would follow the player, and i figured out how to do it. im sure its possible, its just eluding me harder than kira did the main group

hearty lantern
#

if you figured out how to do it how is it eluding you?

harsh nest
#

@drifting egret probably add several more planes of blured image on top

drifting egret
#

Oh, good idea

north dust
#

@hearty lantern the reason it is eluding me, is with the first bomb, i am manually triggering a gameobject, which auto plays the sound as a component of it, and then subsequently spawns the explosion particle at the gameobject 1 in the world. the problem with this is that i need it to spawn on a particle, and it needs to spawn on collision, which with particles, can only sub emit more particles.

mossy cypress
#

Hello guys. Are flight and teleportations prohibited? If not how can I achieve them? As for flying I know that I have to mess with colliders but I don't know the details

barren lantern
#

Hello! I'm trying something out with the VRC_Data Storage component. Is there any way to serialize and store the render output of a camera? Also, is it possible to access stored data from within a Web Panel using the Javascript API? I've been trying to figure that one out for a while, but documentation on the Javascript API is almost non-existent.

#

Ideally, my end goal is to take the render output from the in-game camera and render it or just have access to it from inside the webpage on the web panel.

#

I think that I can use VRCSDK2.VRC_Serialization.ParameterEncoder on the web panel to get a byte array of the render output into a variable on the Javascript side of things, but I can't find any further documentation on VRCSDK2.VRC_Serialization.ParameterEncoder past the fact that it exists and returns a byte array, so I've hit a roadblock.

normal aurora
#

I have the weirdest shader issue going on, where it's rendering slightly wrong only in VR, so I pulled it to my Mac to look at it further and it renders in the same wrong way there. And the way the rendering messes up, it's like it gets the wrong result only on one axis, yet when I read through the code I can't find any place where I'm favouring an axis over the others

normal aurora
#

now I've reproduced the issue on windows too, by running under OpenGL

normal aurora
#

turns out the shader had a max() function which was seemingly implemented correctly, but didn't produce the same results when running on OpenGL. removing it and letting it use the built-in one makes it produce the right result

simple basalt
#

How well does Git work as a VCS for development in 3D tools and Unity?

#

Random q but just wondering

normal aurora
#

I'm using it with some success but I set up unity to use text formats instead of binary for most files

simple basalt
#

Ah

#

I'm mostly worried about it handling complex data

#

Like models, images, sounds

normal aurora
#

there are some things it doesn't do very well, like it will produce diffs where nothing has changed in some situations

simple basalt
#

That's to be expected

#

There's some documentation I note