Raycasting::testCapsule
Raycast from point to point, where the ray has a radius.
Syntax
``` mp.raycasting.testCapsule(pos1, pos2, radius, [ignoredEntity], [flags]); ```
Required Arguments
- pos1: Vector3
- pos2: Vector3
- radius: Float
- ignoreEntity: Array of entities handle or object
- flags: Array of ints
Return value
- object: position (Entity Coordinates) , surfaceNormal, material (Entity Model) , entity (Handle)