VoltMod
C++23 framework for CS2 server plugins
Loading...
Searching...
No Matches
VoltMod::PlayerHull Struct Reference

#include <Pawn.hpp>

Static Public Attributes

static constexpr float HalfWidth = 16.0f
static constexpr float Height = 72.0f
static constexpr float StepHeight = 18.0f
static const Vector Mins {-HalfWidth, -HalfWidth, 0.0f}
static const Vector Maxs {HalfWidth, HalfWidth, Height}

Detailed Description

A standing player's collision box, in units from their feet.

Definition at line 20 of file Pawn.hpp.

Member Data Documentation

◆ HalfWidth

float VoltMod::PlayerHull::HalfWidth = 16.0f
staticconstexpr

Definition at line 22 of file Pawn.hpp.

◆ Height

float VoltMod::PlayerHull::Height = 72.0f
staticconstexpr

Definition at line 23 of file Pawn.hpp.

◆ Maxs

const Vector VoltMod::PlayerHull::Maxs {HalfWidth, HalfWidth, Height}
inlinestatic

Definition at line 27 of file Pawn.hpp.

◆ Mins

const Vector VoltMod::PlayerHull::Mins {-HalfWidth, -HalfWidth, 0.0f}
inlinestatic

Definition at line 26 of file Pawn.hpp.

◆ StepHeight

float VoltMod::PlayerHull::StepHeight = 18.0f
staticconstexpr

The tallest ledge a player walks up without jumping.

Definition at line 25 of file Pawn.hpp.


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