Type / to search schemas

CPathSimple

path_simple1808 bytes (0x0710), align 16Source
Derived classes
CPathWithDynamicNodes
Also in
serverDota 2offsets differDeadlockoffsets differ

Fields

NameTypeOffset
as CPathQueryComponent::Storage_talias CPathQueryComponentuser group CPathQueryComponent

path_simplespawnable

Keyvalues

NameTypeField

Inputs

NamePulseDescription
GetClosestDirToEntity(hEntity: ehandle) → (retval: vec3)
Compute the closest direction along the path relative to the entity provided. (world space vector)
GetClosestPosToEntity(hEntity: ehandle) → (retval: vec3)
Compute the closest position on the path relative to the entity provided. (world space vector)
GetClosestTValueToEntity(hEntity: ehandle) → (retval: float)
Compute the closest T value on the path relative to the entity provided. (0.0 to 1.0 float value that defines the point along the spline)
GetDirAtTValue(flTValue: float) → (retval: vec3)
Compute the Direction along the spline at the provided T Value of the spline. (world space vector)
GetDistanceBetweenEntitiesAlongPath(hEntityA: ehandle, hEntityB: ehandle) → (retval: float)
Compute the distance along the path between provided Entity A and Entity B
GetPosAtTValue(flTValue: float) → (retval: vec3_worldspace)
Compute the position at the provided T Value of the spline. (world space vector)
GetTValueAtDistanceOffset(flTValue: float, flDistance: float) → (retval: float)
Given a starting T value on the spline and a distance traveled on the spline, return the resulting T value.
SetEntityAtTValue(hEntity: ehandle, flTValue: float)
Set entity to the position of the provided T value of the spline (world space vector)