|
Rebel Fork Framework
|
2D Physics raycast hit. More...
#include <Urho3D/Physics2D/PhysicsWorld2D.h>
Public Member Functions | |
| bool | operator!= (const PhysicsRaycastResult2D &rhs) const |
| Test for inequality, added to prevent GCC from complaining. | |
Public Attributes | |
| Vector2 | position_ |
| Hit worldspace position. | |
| Vector2 | normal_ |
| Hit worldspace normal. | |
| float | distance_ {} |
| Hit distance from ray origin. | |
| RigidBody2D * | body_ {} |
| Rigid body that was hit. | |
2D Physics raycast hit.