Urho3D
Public Member Functions | Public Attributes | List of all members
Urho3D::PhysicsRaycastResult Struct Reference

Physics raycast hit. More...

#include </home/runner/work/urho3d-doxygen.github.io/urho3d-doxygen.github.io/urho3d_repo/Source/Urho3D/Physics/PhysicsWorld.h>

Public Member Functions

bool operator!= (const PhysicsRaycastResult &rhs) const
 Test for inequality, added to prevent GCC from complaining.
 

Public Attributes

Vector3 position_
 Hit worldspace position.
 
Vector3 normal_
 Hit worldspace normal.
 
float distance_ {}
 Hit distance from ray origin.
 
float hitFraction_ {}
 Hit fraction.
 
RigidBodybody_ {}
 Rigid body that was hit.
 

Detailed Description

Physics raycast hit.


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