Introducing Shapecasts

Just in case anyone else just wants to skip to the learning part.

1 Like

it would be cool if you add cylindercast
like

cframe : CFrame, 
diameter : number, 
height : number, 
direction : Vector3, 
params : RaycastParams
2 Likes

you know car randomly fails when you put part on it?
also i’m not expert at coding

Hey um there is a bug with shapecasts where if you pass an incorrect instance such as workspace:Shapecast(workspace.Model) it will crash your game.

5 minutes of work gone :frowning:

3 Likes

Is there an ETA on margins for shapecasting? It’s been a year and this is extremely important

8 Likes

if we have shapecasts now then why not save us the time of raycasting 10 times

1 Like

I agree, but i also love using workspace:GetPartsInParts() feature for that.

Any word on shape cast margins? It’s been nearly two years.

5 Likes

i found a vulnerability to the sphere cast, if you can get the camera just right, the sphere cast does not collide with the floor but rather goes through it
other than that it works

How can we visualise a raycast? Visualising a raycast would be very helpful since we could see where the ray will go, and if we are pointing it correctly