-
Notifications
You must be signed in to change notification settings - Fork 3
API V2 Reference: FastCast
This is obsolete. Visit https://etithespirit.github.io/FastCastAPIDocs/ instead.
FastCast is the root class of the modules and offers the surface level methods required to make it work.
Caster FastCast.new()
Construct a new Caster instance, which represents an entire gun or other projectile launching system.
If true, verbose debug logging will be used, printing detailed information about what's going on during processing.
⚠️ Setting this to true can be severely detrimental to performance and should only be used when debugging!
If true, casts will be shown ray-by-ray in the 3D world. Black cones will be used to visualize each ray segment, and red (or green) spheres will be used to show hits. A red cone signifies a raycast that was ignored due to bullet piercing. Green spheres indicate a hit that was ignored for the same reason. Red spheres indicate a cast that hit an object.