Falco Engine
3.9.0.1 (beta)
RaycastHit.cs
Go to the documentation of this file.
1
using
System;
2
using
System.Collections.Generic;
3
using
System.Linq;
4
using
System.Text;
5
using
System.Threading.Tasks;
6
7
namespace
FalcoEngine
8
{
9
public
struct
RaycastHit
10
{
14
public
bool
hasHit
;
15
19
public
Rigidbody
rigidbody
;
20
24
public
Vector3
hitPoint
;
25
29
public
Vector3
worldNormal
;
30
}
31
}
FalcoEngine.Rigidbody
Definition:
Rigidbody.cs:8
FalcoEngine
Definition:
AnimationClip.cs:7
FalcoEngine.RaycastHit
Definition:
RaycastHit.cs:10
FalcoEngine.RaycastHit.worldNormal
Vector3 worldNormal
The normal of the surface the ray hit
Definition:
RaycastHit.cs:29
FalcoEngine.RaycastHit.rigidbody
Rigidbody rigidbody
The rigidbody that was hit
Definition:
RaycastHit.cs:19
FalcoEngine.RaycastHit.hitPoint
Vector3 hitPoint
The impact point in world space where the ray hit the collider
Definition:
RaycastHit.cs:24
FalcoEngine.RaycastHit.hasHit
bool hasHit
Is the ray has any intersection with geometry or not
Definition:
RaycastHit.cs:14
FalcoEngine.Vector3
Definition:
Vector3.cs:9
API
Core
RaycastHit.cs
Generated by
1.9.2