Enumeration Casemigueldeicaza.swiftgodot 0.45.0SwiftGodot
castShape
Continuous collision detection enabled using shapecasting. This is the slowest CCD method and the most precise.
RigidBody2D.swift:85case castShape
Other cases
case disabled
Continuous collision detection disabled. This is the fastest way to detect body collisions, but can miss small, fast-moving objects.
case castRay
Continuous collision detection enabled using raycasting. This is faster than shapecasting but less precise.