Two collision functions simultaneously?

I have an existing method of collision detection. It is the ClientCast module, which works pretty great for my needs. However, I am constantly detecting collision when the player is moving fast and when they are idle.

Problem is, the raycasting only detects the collision when the object is moving. This means when the player is standing still, they are completely immune to collision.

I’m thinking of adding another Touched event on the server to assist in that problem

ClientCast.Collided:Connect(function(onTouch)
object.Touched:Connect(function(onTouch)

Is this the best solution? Are there better ways to detect collision (fast) both when the player is moving and standing still?

solution: have the raycast’s end position always be 1stud up (or any other direction)

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.