Hello DevForums! Currently I am trying to make a web swinging system, and have one that works. My only issue with my current web swinging system is that the player has to manually search for where the web should hang onto and I want it so that it will instead find the nearest part and make the web hang off of it. I have tried make this, and it works, but the part where the web should hang off of is centered in the middle of a nearby part, instead of on the wall where I want it to be positioned. I, however, do not know how to get it to be positioned on the side of the a part instead of the center of a part.
1 Like
Try firing a Raycast towards the location, and use Result.Position or get the surface from it.
[see WorldRoot:Raycast]