group2 0.1.0
CSE 125 Group 2
Loading...
Searching...
No Matches
systems::BeamLockResult Struct Reference

Result of an auto-lock cone scan for a Tesla-style beam. More...

Public Attributes

entt::entity target {entt::null}
 Best locked enemy, or null if none in cone.
glm::vec3 point {0.0f}
 Aim point on the target (centre of mass) for VFX + damage.
BodyRegion region {BodyRegion::UpperTorso}
 Region credited for the hit (centre mass = torso).

Detailed Description

Result of an auto-lock cone scan for a Tesla-style beam.

Member Data Documentation

◆ point

glm::vec3 systems::BeamLockResult::point {0.0f}

Aim point on the target (centre of mass) for VFX + damage.

◆ region

BodyRegion systems::BeamLockResult::region {BodyRegion::UpperTorso}

Region credited for the hit (centre mass = torso).

◆ target

entt::entity systems::BeamLockResult::target {entt::null}

Best locked enemy, or null if none in cone.


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