Secret sauce that brings YouTube followers, views, likes
Get Free YouTube Subscribers, Views and Likes

How to create a hitbox in Roblox with Spatial Query and OverlapParams

Follow
Knineteen19

Video Description:
In this video I cover the topic of Spatial Query and OverlapParams, and how you can use various methods to detect when objects are within a specified hitbox. This is extremely useful for creating hitboxes for special abilities or anything like that when .Touched just doesn't cut it. I know I said I was going to start the shop tutorial next, but I decided to do this first just because I've been anxious to get a smaller tutorial out there before I start working on two big series at the same time.

Resources:
Summary: https://devforum.roblox.com/t/introdu...
OverlapParams object: https://create.roblox.com/docs/refere...
Physics Service: https://create.roblox.com/docs/refere...

Questions / Help:
For assistance with any problems you may have following the video or in general, please post in the appropriate channel in the Knine's Scripting Lessons Discord server:   / discord  . Please follow the post guidelines for the appropriate category (usually scripting) or your post may be ignored.

If you can't use Discord or don't wish to, feel free to post questions here in the comments section but know that I may be slow to answer or may miss your comment entirely. Additionally, follow these guidelines in your questions:
1) What is the specific issue you're having and what are you trying to do?
2) What have you tried to do to fix it so far?
3) Send relevant code chunks (if it's scripting) and any relevant errors/warnings if there are any.

Membership Information:
Join this channel to get access to tutorial game files and other awesome perks:
   / @knineteen19  

posted by nowherezonewj