Urho3D::PhysicsRaycastResult Struct Reference

Physics raycast hit. More...

#include <PhysicsWorld.h>

Collaboration diagram for Urho3D::PhysicsRaycastResult:
[legend]

Public Member Functions

 PhysicsRaycastResult ()
 Construct with defaults.
 
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.
 
RigidBodybody_
 Rigid body that was hit.
 

Detailed Description

Physics raycast hit.


The documentation for this struct was generated from the following file:
  • /home/travis/build/urho3d/Urho3D/Source/Urho3D/Physics/PhysicsWorld.h