Launch an object with collision against the world
https://github.com/VRLabs/Rigidbody-Launcher/assets/76777936/9f288264-7a4b-4790-b6c3-38a1180a3ea5
Rigidbody Launcher FX
to your own FX Controller, using the Avatars 3.0 Manager tool.Rigidbody Launcher
prefab into the base of your Hierarchy.Rigidbody Launcher Target
outside of Rigidbody Launcher
and place it anywhere in your avatar’s hierarchy. Adjust the transforms as needed.Rigidbody Launcher
-> Container
.
Container
.RigidbodyLauncher/Control
parameter must be true for the system to fire, and false to reset.Launcher Fire.anim
animation clip and change the Target Velocity
. You need to use a negative value.
Maximum Force
property under the X/Y/Z Drive
sections of the Rigidbody Launcher/Kinematic Rigidbody/Collision
configurable joint.Collision
are editable depending on the rigidbody motion you want to achieve.Collision
rigidbody (not the configurable joint), and set the X and Y motion on the Collision
configurable joint as locked.
Audio Sources: 2
Colliders: 1
Constraints: 4
Constraint Depth: 4
Contact Receivers: 1
Contact Senders: 1
FX Animator Layers: 2
Lights: 1
Particle Systems: 1
Rigidbodies: 3
Rigidbody Launcher
|-Container
| |-Cube
| | |-Point Light
| |-Collision Audio
| |-Fire Audio
|-Kinematic Rigidbody
| |-Collision
| | |-Box Collider
| | |-Contact
|-Rigidbody Launcher Target
Rigidbody Launcher is available as-is under MIT. For more information see LICENSE.
dev.vrlabs.rigidbody-launcher
Undefined
1.2.13
2022.3 or later
No dependencies
No legacy packages