Uploaded May 2018 | Updated November 2026, 2 hours ago
Part 2 of building the Asteroids VR Grappling Hook. In this video we're going to swing! Picking up from the previous video in the series we're going to modify our grappling hook projectiles to actually attach a Spring joint between the player and wall they impact. This will allow us to add force to the player and pull them towards whatever they grab.
To accomplish this we'll need to find a rigidbody that can represent our player and figure out a good way to attach the Spring to that rigidbody. Turns out this isn't as straight forward as I had predicted. We'll experience some really fun spring bugs that happen when we don't connect the other end of the spring as well as try to figure out a simple way to identify the correct player rigidbody to use. For this to work we'll need a none-kinematic rigidbody that has some relationship to the actual play-space.
Once we have that done it's just an experiment of testing different values for the best experience.
We have a World of Zero Discord channel you can join! Come talk development, debugging and more: discord.gg/hU5Kq2u
Part 2 of building the Asteroids VR Grappling Hook. In this video we're going to swing! Picking up from the previous video in the series we're going to modify our grappling hook projectiles to actually attach a Spring joint between the player and wall they impact. This will allow us to add force to the player and pull them towards whatever they grab.
To accomplish this we'll need to find a rigidbody that can represent our player and figure out a good way to attach the Spring to that rigidbody. Turns out this isn't as straight forward as I had predicted. We'll experience some really fun spring bugs that happen when we don't connect the other end of the spring as well as try to figure out a simple way to identify the correct player rigidbody to use. For this to work we'll need a none-kinematic rigidbody that has some relationship to the actual play-space.
Once we have that done it's just an experiment of testing different values for the best experience.
We have a World of Zero Discord channel you can join! Come talk development, debugging and more: discord.gg/hU5Kq2u

![Building a Custom Dice Model with OpenSCAD
OpenSCAD is a tool that can compile programs into 3D models allowing you to code your own CAD designs instead of building them inside of a WYSIWYG type editor like Fusion 360, SketchUp etc.
The module we created for a basic dice looks like this:
```OpenSCAD
module CreateDice(size = 16) {
textSize = size * 0.75;
textLocation = size / 2 - 1;
textExtrusionSize = 2;
difference() {
cube([size, size, size], center = true);
translate([0,0,textLocation]) linear_extrude(textExtrusionSize) text(1, size=textSize, halign=center, valign=center);
rotate([180, 0, 0]) translate([0,0,textLocation]) linear_extrude(textExtrusionSize) text(6, size=textSize, halign=center, valign=center);
rotate([0, 90, 0]) translate([0,0,textLocation]) linear_extrude(textExtrusionSize) text(2, size=textSize, halign=center, valign=center);
rotate([0, 270, 0]) translate([0,0,textLocation]) linear_extrude(textExtrusionSize) text(5, size=textSize, halign=center, valign=center);
rotate([90, 0, 0]) translate([0,0,textLocation]) linear_extrude(textExtrusionSize) text(3, size=textSize, halign=center, valign=center);
rotate([270, 0, 0]) translate([0,0,textLocation]) linear_extrude(textExtrusionSize) text(4, size=textSize, halign=center, valign=center);
}
}
```
Get OpenSCAD: https://openscad.org/index.html
OpenSCADs documentation: https://openscad.org/documentation.html
OpenSCAD on GitHub: https://github.com/openscad/openscad/
You can get a copy of my models and the SCAD files that generate them here: https://github.com/runewake2/scad-examples
Join the World of Zero Discord Server: https://discord.gg/hU5Kq2u Building a Custom Dice Model with OpenSCAD](https://i.ytimg.com/vi/HxiyUi4RQzw/mqdefault.jpg)






. Well be working with a .NET console application, but this library can also be used in ASP.NET, Unity3D or other .NET projects. YamlDotNet provides a set of APIs for both serializing and deserializing YAML files, well be using these to parse a `tags.yml` file we provide into C# objects so that we can interact with them in our code.
### Example
If you want to parse a YAML file that looks like this:
```yml
user:
name: World of Zero
```
You would use this in C# to create a `Player` object that represents the yml data.
```csharp
public static Player ParsePlayer(string ymlContents) {
var deserializer = new DeserializerBuilder()
.WithNamingConvention(CamelCaseNamingConvention.Instance)
.Build();
return deserializer.Deserialize˂Player˃(ymlContents);
}
public class Player {
public User Username { get; set; }
}
public class User {
public string Name { get; set; }
}
```
### Installing YamlDotNet
YamlDotNet is available on [Nuget](https://www.nuget.org/packages/YamlDotNet) and can be installed from the `dotnet` command line using:
```sh
dotnet add package YamlDotNet
```
or via the Package Manager with
```sh
Install-Package YamlDotNet
```
Note: Make sure to check [Nuget](https://www.nuget.org/packages/YamlDotNet) for the latest available version.
***
More about YamlDotNet on its GitHub page: https://github.com/aaubry/YamlDotNet
You can find other YamlDotNet code samples at: https://github.com/aaubry/YamlDotNet/wiki/Samples
If youd like to use YamlDotNet to parse YAML in Unity3D you can use the free package from Unitys Asset Store: https://assetstore.unity.com/packages/tools/integration/yamldotnet-for-unity-36292
***
Join the World of Zero Discord Server: https://discord.gg/hU5Kq2u Learning to Deserialize YAML in C# with YamlDotNET](https://i.ytimg.com/vi/KXj5pAzmka8/mqdefault.jpg)

