Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Any ways to track a nearby object without using RayCasting?

Asked by
zuup123 99
5 years ago

I want to make a vaulting system but I have problems with tracking if the object is near the player, I literally have no ideas how to make that. Any ideas?

1 answer

Log in to vote
1
Answered by
Nowaha 459 Moderation Voter
5 years ago

You could try looking into Region3's, and then seeing if there are vaultable parts in the region using Workspace:FindPartsInRegion3().

To create a region around the player you can look at this question or this (probably better) question.

Ad

Answer this question