Bastiaan Olij | Godot VR Weapons tutorial part 2 - teleport and picking up objects @BastiaanOlij | Uploaded March 2019 | Updated October 2024, 21 hours ago.
This is the second part in my tutorial series on handling weapons in VR using the Godot game engine.
In this part we'll set up some basic teleport functionality so we can move around our scene.
Then we'll look into the code we need to pick up and drop objects.
One correction is needed in this tutorial. Because of some last minute changes I forgot that you need to set the collision mask on the teleport function to include the environment layer.
Links:
- Godot: godotengine.org
- OpenVR plugin sourcecode: github.com/GodotVR/godot_openvr
- VR commons github.com/GodotVR/godot-vr-common
- Gun range: cgtrader.com/3d-models/military/armor/shooting-range-interiors
- M1911 gun: free3d.com/3d-model/m1911-game-ready-833466.html
- Button info: github.com/GodotVR/godot_openvr/issues/4
Get the project (minus the range model) here:
github.com/BastiaanOlij/godot-vr-weapons
Follow me on twitter for updates, notifications and previews on what I'm working on:
twitter.com/mux213
Support me on Patreon:
patreon.com/mux213
This is the second part in my tutorial series on handling weapons in VR using the Godot game engine.
In this part we'll set up some basic teleport functionality so we can move around our scene.
Then we'll look into the code we need to pick up and drop objects.
One correction is needed in this tutorial. Because of some last minute changes I forgot that you need to set the collision mask on the teleport function to include the environment layer.
Links:
- Godot: godotengine.org
- OpenVR plugin sourcecode: github.com/GodotVR/godot_openvr
- VR commons github.com/GodotVR/godot-vr-common
- Gun range: cgtrader.com/3d-models/military/armor/shooting-range-interiors
- M1911 gun: free3d.com/3d-model/m1911-game-ready-833466.html
- Button info: github.com/GodotVR/godot_openvr/issues/4
Get the project (minus the range model) here:
github.com/BastiaanOlij/godot-vr-weapons
Follow me on twitter for updates, notifications and previews on what I'm working on:
twitter.com/mux213
Support me on Patreon:
patreon.com/mux213