Raycasting::testVisualDrawablePointToPointForEntity
Client-Side Function
JavaScript Syntax
Required Params
- rayStart: Vector3 — The starting position of the raycast.
- rayEnd: Vector3 — The ending position of the raycast.
- entityHandle: number — The handle of the entity to test against.
Return value
- 'Object' — Returns an object containing information about the hit result.
Syntax
mp.raycasting.testVisualDrawablePointToPointForEntity(rayStart, rayEnd, entityHandle)
Example
// todo