|
group2 0.1.0
CSE 125 Group 2
|
Skeleton-driven hitbox raycast (capsule-based). More...
#include <Raycast.hpp>
Public Attributes | |
| bool | hit {false} |
| float | distance {k_hitscanRange} |
| glm::vec3 | point {0.0f} |
| glm::vec3 | normal {0.0f, 1.0f, 0.0f} |
| BodyRegion | region {BodyRegion::UpperTorso} |
| entt::entity | entity {entt::null} |
Skeleton-driven hitbox raycast (capsule-based).
Result of a hitbox-aware hitscan raycast.
| float physics::HitboxHit::distance {k_hitscanRange} |
| entt::entity physics::HitboxHit::entity {entt::null} |
| bool physics::HitboxHit::hit {false} |
| glm::vec3 physics::HitboxHit::normal {0.0f, 1.0f, 0.0f} |
| glm::vec3 physics::HitboxHit::point {0.0f} |