Hello and thank you for the tutorial, this is a tip for the viewers as I encountered this problem myself, if you find the child to the parent (game object) is not moving >> make sure that static is not checked in the top right hand corner
So at 3:20, I follow all the steps exactly, as best as I can tell, but when I press the play button in the preview window for the animation, it undoes my movement. However, if I expand the "Cube : Position" field and change the numeric values directly, it saves them. Any idea why this is? I cannot save the values simply by moving them as you're doing. They just revert to the original the second I press play.
Thanks you very much for this great tutorial! God damn I thought almost it wouldn't work but it was just because I underestimate how important the "Variable" was... Everything worked great when I got it that you really need to put the exact name of the Animation Bool in it or nothing happends.
Ahhh! this helped me so much! THANKYOU!! I used Toggle to switch between animations for these buttons.. already moving..? It took me so long to figure it out lmao im not smart- just stubborn. ON TO THE BUTT!? im intimidated. vv intimated by all of this D:
is it different on the 2020 beta? cuz im pretty sure I followed this tutorial exactly and my door doesn't open when I uploaded it. But it still works in unity when I am testing it by clicking the bool on and off. maybe i missed something with the box collider? Edit: fixed it haha
do you know how I can trigger an animation with a button and then pause the animation by clicking the button again? And then resuming the animation from the paused position by clicking the trigger again?
This would involve having a float parameter in your animation that would be used for the speed of your clip. When you click on a state in the animator controller, you can add a speed multiplier parameter. If you set the parameter to 0, the clip will be paused and if you set it to 1 it will play normally. You would then need to set up a trigger system that sets the float value between 0 and 1.
Worked great on my first doors that I could copy and paste. Now any other door controllers I make just have a constant door open animation even when I follow this video :/
use oninteract - animation bool - set variable to name you set to bool - Is it for VRChat ? i have unity prefab if you need it. My discord - backwards#8560 - cyanlaser makes the best vrchat video.
Hey for VRC trigger, I only have a few options for layers. I have nothing, everything, default, transparentFX, ignore raycast, water, and UI. Do you need to add in the player layer somehow? Thank you btw, great video!
Zach L When you go to the VRChat build control panel, a button will show up that asks to set up layers and collision matrix. You need to click the button for the layers to be properly set. You can only see it if you have a scene descriptor in the world already.
Using the Animator and Animations will be the same in SDK3, but the logic linking it in Udon will be different. Using CyanTrigger may be similar to SDK2, it is not exact.
Yes, I still plan on making a tutorial on how to make a lockable door. You can message me on discord for a quick explanation since I'm not sure when I'll get to the actual video tutorial.
There are multiple ways to do things. I like to make empty animation states, but really it depends on what is needed for the system. In this case specifically, making the closed animation the default would mean you would see the animation of the door closing when you enter the world, which is not the behavior I wanted. By having the empty default, the door will do nothing until you first interact.
These videos are fantastic. I'm tempted to convert the lessons in this series into a doc for folks too lazy to watch the videos.
Hello and thank you for the tutorial, this is a tip for the viewers as I encountered this problem myself, if you find the child to the parent (game object) is not moving >> make sure that static is not checked in the top right hand corner
So at 3:20, I follow all the steps exactly, as best as I can tell, but when I press the play button in the preview window for the animation, it undoes my movement.
However, if I expand the "Cube : Position" field and change the numeric values directly, it saves them. Any idea why this is? I cannot save the values simply by moving them as you're doing. They just revert to the original the second I press play.
This actually helped me with another issue I was dealing with. Thanks for this tutorial, it really helped c:
1 word.
USEFULL
I have a problem that my second door is not responding
(it works for my first door, but the second 1 whatever i try dosent
Thanks you very much for this great tutorial!
God damn I thought almost it wouldn't work but it was just because I underestimate how important the "Variable" was... Everything worked great when I got it that you really need to put the exact name of the Animation Bool in it or nothing happends.
Ahhh! this helped me so much! THANKYOU!! I used Toggle to switch between animations for these buttons.. already moving..? It took me so long to figure it out lmao im not smart- just stubborn. ON TO THE BUTT!? im intimidated. vv intimated by all of this D:
is it different on the 2020 beta? cuz im pretty sure I followed this tutorial exactly and my door doesn't open when I uploaded it. But it still works in unity when I am testing it by clicking the bool on and off. maybe i missed something with the box collider? Edit: fixed it haha
Just adding this here if people are also having this problem: Make sure the object isn't static.
my "close" animation doesn't work, yet i did everything as asked!
can you make it open and close when you click on it?
do you know how I can trigger an animation with a button and then pause the animation by clicking the button again? And then resuming the animation from the paused position by clicking the trigger again?
This would involve having a float parameter in your animation that would be used for the speed of your clip. When you click on a state in the animator controller, you can add a speed multiplier parameter. If you set the parameter to 0, the clip will be paused and if you set it to 1 it will play normally. You would then need to set up a trigger system that sets the float value between 0 and 1.
Worked great on my first doors that I could copy and paste. Now any other door controllers I make just have a constant door open animation even when I follow this video :/
So i have a problem non of my animations are on loop but when i stand in the trigger the door open and close and just keep repeating
It's ok it was me being stupid i fixed it great video
@@SylphicXen i hand the wrong on exit trigger on it
@DashCam Crasher make sure you habe the right triggers on it mine was set to the wrong on exit
What should I do if I want to use button for open door ?
use oninteract - animation bool - set variable to name you set to bool - Is it for VRChat ? i have unity prefab if you need it. My discord - backwards#8560 - cyanlaser makes the best vrchat video.
really helpful thank you very much!!
Hey for VRC trigger, I only have a few options for layers. I have nothing, everything, default, transparentFX, ignore raycast, water, and UI. Do you need to add in the player layer somehow? Thank you btw, great video!
Zach L When you go to the VRChat build control panel, a button will show up that asks to set up layers and collision matrix. You need to click the button for the layers to be properly set. You can only see it if you have a scene descriptor in the world already.
ohhhh okay I'll try that later, I just added a button for a trigger instead in the mean time. Thanks a lot for the response!
No problem
Very helpful thank you
does this work the same for sdk3?
Using the Animator and Animations will be the same in SDK3, but the logic linking it in Udon will be different. Using CyanTrigger may be similar to SDK2, it is not exact.
I tried everything but my door won’t move :(
Check if your door is set to static. Animations will not work on static objects.
I checked nothing is static it, it moves inside of unity when I test it but not on vrchat :(
My Entry is missing, do you know how to fix it? Edit: Nevermind, for some reason, I needed to zoom out like a hell to find it :P
thank you very much !
ty
Do you plan on doing a tutorial on locking a door?? it's something i cant seem to figure out... Also maybe how to use a Keypad lock
Yes, I still plan on making a tutorial on how to make a lockable door. You can message me on discord for a quick explanation since I'm not sure when I'll get to the actual video tutorial.
Hey this is useful.
damn man, its been 7 years
I can’t stop thinking about this girl who used her hand to jiggle her own buttcheek in VR.
I must learn!!!
Funny how you made an empty animation for no reason when you could have made closed the new starting animation
There are multiple ways to do things. I like to make empty animation states, but really it depends on what is needed for the system. In this case specifically, making the closed animation the default would mean you would see the animation of the door closing when you enter the world, which is not the behavior I wanted. By having the empty default, the door will do nothing until you first interact.
Ahhh ok :)
it doesn't work, doesn't work anything
any one having problems with this in 2019?
yes
It would help so much if they updated this. I am having problems with this. And is not fun to get other people asset. Because we also want to learn.
I fix my problem. Is was the name I was putting on the trigger VRC. But we still need and updated thought.
hi dad
Wut
hi dad im from the discord
im watching ur tutorials
You should really help the people who need help.