Falco Engine 3.9.0.1 (beta)
FalcoEngine.RaycastHit Struct Reference

Public Attributes

bool hasHit
 Is the ray has any intersection with geometry or not More...
 
Rigidbody rigidbody
 The rigidbody that was hit More...
 
Vector3 hitPoint
 The impact point in world space where the ray hit the collider More...
 
Vector3 worldNormal
 The normal of the surface the ray hit More...
 

Detailed Description

Definition at line 9 of file RaycastHit.cs.

Member Data Documentation

◆ hasHit

bool FalcoEngine.RaycastHit.hasHit

Is the ray has any intersection with geometry or not

Definition at line 14 of file RaycastHit.cs.

◆ hitPoint

Vector3 FalcoEngine.RaycastHit.hitPoint

The impact point in world space where the ray hit the collider

Definition at line 24 of file RaycastHit.cs.

◆ rigidbody

Rigidbody FalcoEngine.RaycastHit.rigidbody

The rigidbody that was hit

Definition at line 19 of file RaycastHit.cs.

◆ worldNormal

Vector3 FalcoEngine.RaycastHit.worldNormal

The normal of the surface the ray hit

Definition at line 29 of file RaycastHit.cs.


The documentation for this struct was generated from the following file: