This repository has been archived by the owner on Feb 1, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update gradle build config files in order to enable prefab publishing (see https://developer.android.com/studio/build/native-dependencies?agpversion=4.1) * Deprecate `OvrDisplayRefreshRate` and replace with `OvrDisplay`: * Added api to set the color scale. * Added api to report the primary controller type. * Update documentation for the new apis * Add hand pointer implementation to the plugin demo * Update Android Studio to version 4.1.
- Loading branch information
Fredia Huya-Kouadio
authored
Oct 13, 2020
1 parent
03a561f
commit 5079324
Showing
38 changed files
with
1,683 additions
and
783 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
ext.versions = [ | ||
gradlePluginVersion: '4.1.0', | ||
compileSdk : 30, | ||
minSdk : 18, | ||
targetSdk : 30, | ||
buildTools : '30.0.1', | ||
kotlinVersion : '1.4.10', | ||
] |
This file was deleted.
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
28 changes: 28 additions & 0 deletions
28
demo/addons/godot_ovrmobile/example_scenes/hand_pointer.tscn
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 |
---|---|---|
@@ -0,0 +1,28 @@ | ||
[gd_scene load_steps=5 format=2] | ||
|
||
[ext_resource path="res://addons/godot_ovrmobile/example_scenes/ray_cast_with_reticle.gd" type="Script" id=1] | ||
[ext_resource path="res://addons/godot_ovrmobile/example_scenes/ray_reticle.tscn" type="PackedScene" id=2] | ||
|
||
[sub_resource type="SpatialMaterial" id=1] | ||
|
||
[sub_resource type="CylinderMesh" id=2] | ||
material = SubResource( 1 ) | ||
top_radius = 0.001 | ||
bottom_radius = 0.01 | ||
height = 0.05 | ||
|
||
[node name="HandPointer" type="Spatial"] | ||
|
||
[node name="RayCast" type="RayCast" parent="." groups=[ | ||
"gast_ray_caster", | ||
]] | ||
enabled = true | ||
cast_to = Vector3( 0, 0, -4 ) | ||
script = ExtResource( 1 ) | ||
|
||
[node name="RayReticle" parent="RayCast" instance=ExtResource( 2 )] | ||
|
||
[node name="PointerModel" type="MeshInstance" parent="."] | ||
transform = Transform( 1, 0, 0, 0, -1.62921e-07, 1, 0, -1, -1.62921e-07, 0, 0, -0.03 ) | ||
mesh = SubResource( 2 ) | ||
material/0 = null |
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
9 changes: 9 additions & 0 deletions
9
demo/addons/godot_ovrmobile/example_scenes/ray_cast_with_reticle.gd
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 |
---|---|---|
@@ -0,0 +1,9 @@ | ||
extends RayCast | ||
|
||
onready var ray_reticle = $RayReticle | ||
|
||
func _physics_process(delta): | ||
ray_reticle.visible = is_colliding() | ||
if (ray_reticle.visible): | ||
ray_reticle.translation = to_local(get_collision_point()) | ||
|
13 changes: 13 additions & 0 deletions
13
demo/addons/godot_ovrmobile/example_scenes/ray_reticle.tscn
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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
[gd_scene load_steps=3 format=2] | ||
|
||
[sub_resource type="SpatialMaterial" id=1] | ||
albedo_color = Color( 1, 1, 1, 0.75 ) | ||
|
||
[sub_resource type="SphereMesh" id=2] | ||
material = SubResource( 1 ) | ||
radius = 0.02 | ||
height = 0.04 | ||
|
||
[node name="RayReticle" type="MeshInstance"] | ||
mesh = SubResource( 2 ) | ||
material/0 = null |
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
#Wed Jun 03 16:52:10 PDT 2020 | ||
#Wed Sep 23 18:33:41 PDT 2020 | ||
distributionBase=GRADLE_USER_HOME | ||
distributionPath=wrapper/dists | ||
zipStoreBase=GRADLE_USER_HOME | ||
zipStorePath=wrapper/dists | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-6.1.1-all.zip | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-6.5-all.zip |
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
Binary file renamed
BIN
+36.8 MB
...n/libs/godot-lib.3.2.2.stable.release.aar → ...n/libs/godot-lib.3.2.3.stable.release.aar
Binary file not shown.
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
Oops, something went wrong.