Unity Gun Animation drive with a Gesture
HTML-код
- Опубликовано: 21 авг 2024
- A simple video on how to Toggle a gun animation with a gesture, so bassicaly making the Gun Shoot.
All the Assets that i used are linked in here aswell.
The Avatar
nardoiri.gumro...
The Weapon
vrcmods.com/it...
MORE OF THIS PLEASE
You are literally a godsend for me right now thank you so much 🙏
You are welcome :D
The animator recognized Off - On, but not Off - On. Also, it turns the particle symbol on, but not the particle itself
Heya, love the vid but have an issue. Everythings fine up untill I add my own animation and then create transitions, but when I go to play and toggle the Right hand to 1 in parameters, nothing happens. Any ideas?
Hello, without any further context, I might just be able to assume that you didn't have the correct layer set in the VRC avatar descriptor on the right side where it says Animator Controller = FX in my case. For your base, it might say something different.
@crazydude6006 Are you familiar with how to make a playable weapons so players can assult and take damage? I am wondering is that possible without c# or any type of scripting. I am looking for a person who I can ask for commision work as a dev🐯 thanks go the tut
I actually dont know, if you dont want to script you might be able to use unity colliders. For example just use a sphere as a bullet and have it collide with whatever object. and maybe a collision detector/point. but it is just a theory.. i have not tried things like that because, i only do allot of stuff in unity for VRCHAT, and vr chat is quite restrictive when it comes to impacts and damage. I Hope i could give you a little direction to maybe go towards.
@@crazydude6006 for sure) thanks I am going to continue research on this topic. And yes just getting around all of the vrchat restrictions and capabilities, all best
Im lost, i follow the way you did it, but its not working, not sure is there something I missed
What exactly is not working? if you give me more informations about the problem you are encountering, i might be able to help you further.
@@crazydude6006 actually no need, I have found the problem and had to use a different method and worked lol
@@nemesisgaming3970 Okay good to know, yeah with so many Avatars and every one of them has a different layout of bones and armatures it's quite difficult to find the right approach. But glad that it worked out for you :D.
My animator had no parameters. I have no right hand gestures
When you imported the VRCSDK you will find a file in "Assets > VRCSDK > Examples (number) > Animation > Controllers" called vrc_AvatarV3HandsLayer or vrc_AvatarV3HandsLayer2, Duplicate which one u wish to use, and then put the file into your (Playable Layers > Gestures layer) just click on Default Gestures to be able to put something in. In the VRC Avatar Descriptor
@@crazydude6006 Sweet! I’ll have to try that next chance I get!
@@_Sikorsky_ I hope it will work out for you, if not I will try to find another solution.
I attempted to try that. It made the list no longer empty, but it only showed my toggles; and not the gestures. I will try to mess with it rq@@crazydude6006
I made a bool named "GestureRight" and it showed up. But when it comes time to set it to "Equals 1" I only have the option to set it to true, or false
@@crazydude6006
whenever i pressed play the animation played on a loop, i followed what you did very closely. do you know what i couldve done wrong?
Try look at 5:30 maybe the animation is still in all parts, and in the new created layer, it might be the issue.
useful animation thank!!