Skip to main content

AgentRollUpInPlace.Point

A private struct in Root.Township, Alta.Intelligence. Reach it through att-stubs' publicized assemblies or Harmony's AccessTools.

A ground contact point found while working out how a fallen agent should turn upright, with an optional surface normal.

Constructors​

MemberWhat it is
Point(Vector3 point)Creates an AgentRollUpInPlace.Point from point and normal.
Point(Vector3 point, Vector3 normal)Creates an AgentRollUpInPlace.Point from point and normal.

Fields​

MemberWhat it is
bool hasNormalTrue when normal holds a real surface normal from a raycast.
Vector3 normalSurface normal at the point, if known.
Vector3 pointThe contact position.

Used in​

Members of other types that take, return or hold a Point: