VNyan Animated Prop - Lever
A downloadable project
A VNyan animated prop where a hand pulls a lever. What happens after that? By default, your avatar will fall through the floor, but the node graph system allows you to come up with your own result!
There are two versions of this lever: one that you can attach to the camera so it'll always appear in the same spot when it's activated, and one that can remain persistent in your world (stationary). The former is good for just about all use cases, and the latter can be used if you want a stationary, persistent lever (example: you have full body tracking with a moving camera and/or a world your model exists in).
There is also a third version: a stationary lever without the hand, and its respective node graph can allow you to pull the lever with a command, redeem, or a hotkey; this will work great for VTubers with hand tracking that want to simulate interacting with the lever directly. Think of this version as a toggle version of the lever.
Installation
Standard Lever
Load prop_lever.vnprop in your Props window. Give it a name, and then set the linked bone to Camera. To get the lever positioned properly, use these settings:
NOTE: because the lever animates itself appearing on screen, setting the position values will place it off camera momentarily. When the lever is activated, it'll move into the correct position.
Open the Node Graphs menu, create a new node graph, and then load graph_lever.json. There will be two Toggle Prop nodes in this graph. Make sure the Prop is set to however you named the lever.
Depending on the type of avatar you're using, the Object Position nodes will need updating. Either select your avatar's file type or the root bone.
Test the node graph by right-clicking the Channel Points node and selecting "Send Signal". If everything is properly set up, you should see a lever appear and a hand pull it.
You can then consult the notes in the graph to adjust the timing of the lever pull, add sound effects, and even change what happens entirely when the lever is pulled. For example, your avatar could be yeeted, you can activate the Water built-in action node, or something else entirely can happen. Get creative!
Stationary Lever
This version of the lever is for specific use cases; namely, if you want the lever to persist in your setup, such as if you have full body tracking and a loaded world for the lever to sit in. It could also remain behind your avatar if you wish. This is just to provide users with another option depending on their setup.
The installation is virtually the same as the standard lever, except:
-After loading the prop_lever(stationary).vnprop, set it to World. Make sure it's visible, then move it to where you want it to be.
-Open the Node Graphs menu, create a new graph, and then load the graph_lever(stationary).json file.
-At the top of the graph, make sure the one Toggle Prop node is set to your prop's name. It's connected to an Application Start node that will ensure the prop is visible when VNyan is first loaded.
Stationary Lever (No Hand)
This is the easiest version to set up. Load the prop_Lever (no hand).vnprop in the Props menu. Set the Linked Bone to whatever you want (Camera or World will work) and adjust its position, rotation, and scale settings to your liking.
Open the Node Graph menu, create a new node graph, and load the graph_lever(no hand).json file. The lever should now be operable!
Nothing will happen to your avatar out of the box with this node graph, as this is a toggle version of the prop.
Download
Click download now to get access to the following files:
Leave a comment
Log in with itch.io to leave a comment.