Hey, I’m making a grappling system similar to Just Cause’s and was curious on how to achieve this. My main problem is reading the closest points, not checking for the points within a certain radius.
To further expand on my issue, I made a “image” which will hopefully allow this to be more clear:
Made a mistake while making this, instead of 10x10 stud cubes we have 50x50 stud cubes.
Within a 50x50 stud cube, I want to find the most elevated point. I’ve had a go at ReadVoxels
but have had no luck due to the way it has been documented. Like I said, I can manage the grappling and radius check – just not finding the most elevated terrain post within a certain Region3.
Can anyone point me in the right direction? All feedback and replies are appreciated
1 Like
Bumping because I really would like some information to point me in the right direction.
Still combatting it, no luck unfortunately.
Wasn’t there a Terrain Visualizer in #help-and-feedback:cool-creations meant for Star Wars somewhere? I could of sworn there was, if I could have a crack at that thread then I could finish this.
For the distance stuff I would probably save a table of positions for the grapple points and then loop through them to check distance using magnitude. That’s a little more efficient than using a ton of regions. Either way this is gunna be way easier if you use proxy parts to indicate the grapple points.
That being said, you can read voxels right at the start and then highlight certain points as grapple points that way it’s all saved and you don’t have to keep running it.
1 Like
I would do that if it was a smaller map, it’s currently 16K studs (and probably will expand)