-
-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update to try to fix logger color coding, and fix player movement bei…
…ng locked out of water
- Loading branch information
1 parent
e7b02ed
commit 5e18b19
Showing
10 changed files
with
35 additions
and
26 deletions.
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
Assets/SerializedUdonPrograms/0bcdf45d45ca0be468c4336945ca0a1d.asset
Large diffs are not rendered by default.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
Assets/SerializedUdonPrograms/281012706fb41b94782dd15f42405146.asset
Large diffs are not rendered by default.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
Assets/SerializedUdonPrograms/2c57b6963c082a144b0311246540719a.asset
Large diffs are not rendered by default.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
Assets/SerializedUdonPrograms/602c9c7f38af11e44acb71e88557d33d.asset
Large diffs are not rendered by default.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
Assets/SerializedUdonPrograms/9dc17e2102f14574e921629b752391f4.asset
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,7 +22,7 @@ This is the script that dictates the velocity and movement of flight itself. | |
| gravityCurve | [AnimationCurve](https://docs.unity3d.com/ScriptReference/AnimationCurve.html) | Similar to Size Curve, but instead of modifying Flap Strength, it only affects Gravity. This value is ignored (Size Curve will be used instead) unless Use Gravity Curve is enabled | | ||
| debugOutput | [TextMeshProUGUI](https://docs.unity3d.com/Packages/[email protected]/api/TMPro.TextMeshProUGUI.html) | If a GameObject with a TextMeshPro component is attached here, debug some basic info into it | | ||
| bankingTurns | bool | Allows for players to tilt their arms to turn left or right while gliding | | ||
| dynamicGravity | bool | If enabled, gravity will be saved each time the user takes off, instead of just at the start of the world. | | ||
| dynamicPlayerPhysics | bool | If enabled, gravity and movement will be saved each time the user takes off, instead of just at the start of the world. | | ||
| armspan | float | The armspan of the player | | ||
| wingtipOffset | float | The wingtip offset of the player. Usually set by [AvatarDetection](/ScriptReference/Detection/AvatarDetection.md) | | ||
| weight | float | The weight of the player. Usually set by [AvatarDetection](/ScriptReference/Detection/AvatarDetection.md) | | ||
|
@@ -33,6 +33,6 @@ This is the script that dictates the velocity and movement of flight itself. | |
|-|-|-| | ||
| EnableBetaFeatures | void | Enables beta features such as banking turns | | ||
| DisableBetaFeatures | void | Disables beta features such as banking turns | | ||
| UpdateGravity | void | Calling this function tells the script to pull in a new world gravity value. This is useful if you have a world that changes gravity often, but still want water systems to work. This function is only useful if dynamic gravity is disabled. Otherwise, it will do nothing. | | ||
| UpdatePlayerPhysics | void | Calling this function tells the script to pull in the worlds values for player physics. This is useful if you have a world that changes gravity or movement often, but still want water systems to work. This function is only useful if dynamic player physics is disabled. Otherwise, it will do nothing. | | ||
| InitializeDefaults | void | Tells the script to store its default values internally. This should only be done once upon world load | | ||
| RestoreDefaults | void | Restores the default values of the script into itself. This will reset the script to the defaults that were set in unity itself, not the packages defaults | |