CryEngine.PlayerDimensionsParameters

CryEngine.PlayerDimensionsParameters

Inherits CryEngine.BasePhysicsParameters< pe_player_dimensions >.

Properties

float PivotHeight [get, set]
Offset from central ground position that is considered entity center More...
float EyeHeight [get, set]
Vertical offset of camera More...
Vector3 ColliderSize [get, set]
Collision cylinder dimensions. X is radius, Z is half-height, Y is unused. More...
float ColliderHeight [get, set]
Vertical offset of collision geometry center More...
float HeadRadius [get, set]
Radius of the 'head' geometry (used for camera offset) More...
float HeadHeight [get, set]
Center.z of the head geometry More...
Vector3 UnprojectionDirection [get, set]
Unprojection direction to test in case the new position overlaps with the environment (can be 0 for 'auto') More...
float MaxUnprojection [get, set]
Maximum allowed unprojection More...
bool UseCapsule [get, set]
Switches between capsule and cylinder collider geometry More...
float GroundContactEpsilon [get, set]
The amount that the living-entity needs to move upwards before ground contact is lost. Defaults to which ever is greater 0.004, or 0.01 * GeometryHeight More...

Property Documentation

◆ ColliderHeight

float CryEngine.PlayerDimensionsParameters.ColliderHeight
get
set

Vertical offset of collision geometry center

◆ ColliderSize

Vector3 CryEngine.PlayerDimensionsParameters.ColliderSize
get
set

Collision cylinder dimensions. X is radius, Z is half-height, Y is unused.

◆ EyeHeight

float CryEngine.PlayerDimensionsParameters.EyeHeight
get
set

Vertical offset of camera

◆ GroundContactEpsilon

float CryEngine.PlayerDimensionsParameters.GroundContactEpsilon
get
set

The amount that the living-entity needs to move upwards before ground contact is lost. Defaults to which ever is greater 0.004, or 0.01 * GeometryHeight

◆ HeadHeight

float CryEngine.PlayerDimensionsParameters.HeadHeight
get
set

Center.z of the head geometry

◆ HeadRadius

float CryEngine.PlayerDimensionsParameters.HeadRadius
get
set

Radius of the 'head' geometry (used for camera offset)

◆ MaxUnprojection

float CryEngine.PlayerDimensionsParameters.MaxUnprojection
get
set

Maximum allowed unprojection

◆ PivotHeight

float CryEngine.PlayerDimensionsParameters.PivotHeight
get
set

Offset from central ground position that is considered entity center

◆ UnprojectionDirection

Vector3 CryEngine.PlayerDimensionsParameters.UnprojectionDirection
get
set

Unprojection direction to test in case the new position overlaps with the environment (can be 0 for 'auto')

◆ UseCapsule

bool CryEngine.PlayerDimensionsParameters.UseCapsule
get
set

Switches between capsule and cylinder collider geometry