I am currently watching some tutorials from the node institute to learn a bit more of VL.
Wanting to make use of the .NET libraries I followed the using .NET NuGets and therefor installed the Aether.Physics2D.
When I want to have the output of the MutableList of Type as it is shown in this tutorial
I don’t get the same output and when I try to patch it the same way because the BodyList that the node browser gives me doesn’t output the same kind of data type
I tried to find out how to convert this BodyCollection into something usable but I couldn’t manage to do so…
Can someone enlighten me in which direction to go for solving that?
The body collection is probably something you can connect to a foreach loop. Usually collections implement interfaces like Sequence, IReadOnlyList, IMutableList and so on. So try the nodes in those categories.
And of course, there should be a category BodyCollection in the node browser that has nodes that work with this type.
Ah I could do the same steps as in the tutorial and I came to the same output in the end. I was confused because I didn’t got the same “spread Sign” when I hovered the output. Connecting a Count node from the BodyCollection then clarified that there was an actual spread in the collection. But why does it show the spread information in the older version as one can see in the video and not anymore in the newer version of VL?