FloatZone

$0+
10 ratings

NOTE: This setup assumes a 'space suit' mechanic that relies on jets to propel yourself. You might prefer something that only relies on pushing forward or pulling a trigger to move. In that case, I'd suggest Hirabiki's Swim System or Mattshark89's OpenFlight.


I put together an Udon graph that lets you adjust gravity in trigger volumes. You can use any type of collider so long as it's a trigger.

This prefab requires VRCSDK3 for Worlds and Unity.

Always reference the VRChat docs for the latest requirements.

https://unity3d.com/get-unity/download/archive
https://vrchat.com/home/download


How does it work?

Add the PlayerTriggerChangeGravity behavior to a collider that's set to trigger, then fill in values for gravity, jet velocity and your default jump value.

The thrust object is optional, but required if you want to use jets to navigate while inside the trigger. On jump, you'll thrust relative to the ThrustObject orientation. If you add an Audio Source to the trigger, it will play that sound when you thrust. JetVelocityMultiplier controls how much of a boost you'll get, and JetDelay limits how often you can use the jets. Your ThrustObject can be a visible pickup, or you can use an empty object and check LinkToView to lock it to your view direction.

Support:

You can contact me via discord.mdcr.tv

$
I want this!
Size
837 KB
Copy product URL

Ratings

5.0
(10 ratings)
5 stars
100%
4 stars
0%
3 stars
0%
2 stars
0%
1 star
0%
$0+

FloatZone

10 ratings
I want this!