#pvp script not always working
1 messages · Page 1 of 1 (latest)
maybe cause it's a raycast?
have you tried shape casting?
raycasting with shapes
Ohh
I never used that
Is there a tutorial or an easy fix to change from raycast to shape cast
Raycasting is a common tool used by Roblox developers all of the time for collision detection. But raycasting can't solve all of our issues for certain scenarios. This is where generalized shape casting can come into play!
Ever wanted to learn Roblox Studio & scripting? Check out my course:
https://bit.ly/LuaScriptingCourse
Use code DEVELOPMENT...
not sure if this is the best tutorial never used shape casting before
there is no fix, you're using raycasting from a part's lookvector, if you didn't know a ray is a tiny line from 1 point to another.
if it's close combat without weapons i recommend spatial querying
Oh
What's that hahah 😅
This tutorial will teach you about Spatial Queries. It is an easy and quick tutorial on how to script, and how you can implement these skills in scripting on Roblox as soon as you leave the video.
Want more information? Check the Roblox Creator Documentation!
https://create.roblox.com/docs
note, for more info go to roblox's docs and dev forum