I am new to FastCast, and Im trying to make a projectile have gravity, I want the projectile to have a arc when it is fired. How would I do this??
There is a Fastcast API which explains the Fastcast module which may help with your question and a tutorial on youtube that shows you how to set it up and also shows how to control the gravity of the bullet such as adding fall time.
API:
https://etithespir.it/FastCastAPIDocs/
Tutorial:
2 Likes
If you want the direct answer, ill give it to you.
local fastCast = require(pathtomodule)
local caster = fastCast.new()
local castBehavior = fastCast.newBehavior()
castBehavior.Acceleration = Vector3.new(0, -workspace.Gravity, 0)
4 Likes