How do I use FastCast

  1. What do you want to achieve? Keep it simple and clear!
    A small guide on how to use FastCast

  2. What is the issue? Include screenshots / videos if possible!
    I don’t understand the documentation, and I couldn’t find any forum posts that helped me.

  3. What solutions have you tried so far? Did you look for solutions on the Developer Hub?
    I tried searching up videos, but there’s like 2, and they don’t explain how to use it- it’s just copy paste. I also searched the Devforum, but I didn’t find anything.

I basically just want to be able to use FastCast to make cool looking gun bullets, and I couldn’t find any references. If I could get help I would be grateful.

I already know how to raycast, so I think I’ll understand whatever you throw at me.

I don’t know if this code is helpful, but it’s where I want to use FastCast.

local replicatedStorage = game:GetService("ReplicatedStorage")
local events = replicatedStorage:WaitForChild("events")
local shootEvent = events:WaitForChild("shoot")

shootEvent.OnServerEvent:Connect(function(
	player,
	origin,
	direction,
	range
)
	
end)

I don’t want a 5 page guide on how to do this, just the basics.

Thanks.

(EDIT: I also checked the official documentation website- it makes no sense to me. I need an example)

bumpbumpbumpbumpbumpbumpbumpbump
i really need help

Hi, James

In short, creation of Caster class by using function FastCast.new allows you to perform simulations via Caster:ActiveCast method.
There, you supply arguments to it, which are:

More info in the FastCast post.

1 Like