Méthode | Description | |
---|---|---|
CreateWhiskers ( int NumWhiskers, double WhiskerLength, double fov, |
given an origin, a facing direction, a 'field of view' describing the limit of the outer whiskers, a whisker length and the number of whiskers this method returns a vector containing the end positions of a series of whiskers radiating away from the origin and with equal distance between them. (like the spokes of a wheel clipped to a specific segment size)
|
|
PointToLocalSpace ( |
|
|
PointToWorldSpace ( |
Transforms a point from the agent's local space into world space
|
|
Vec2DRotateAroundOrigin ( |
rotates a vector ang rads around the origin
|
|
VectorToWorldSpace ( |
Transforms a vector from the agent's local space into world space
|
|
WorldTransform ( List |
given a List of 2D vectors, a position and orientation this function transforms the 2D vectors into the object's world space
|
|
WorldTransform ( List |
given a List of 2D vectors, a position, orientation and scale, this function transforms the 2D vectors into the object's world space
|
public static CreateWhiskers ( int NumWhiskers, double WhiskerLength, double fov, |
||
NumWhiskers | int | |
WhiskerLength | double | |
fov | double | |
facing | ||
origin | ||
Résultat | List |
public static PointToLocalSpace ( |
||
point | ||
AgentHeading | ||
AgentSide | ||
AgentPosition | ||
Résultat |
public static PointToWorldSpace ( |
||
point | ||
AgentHeading | ||
AgentSide | ||
AgentPosition | ||
Résultat |
public static Vec2DRotateAroundOrigin ( |
||
v | ||
ang | double | |
Résultat | void |
public static VectorToWorldSpace ( |
||
vec | ||
AgentHeading | ||
AgentSide | ||
Résultat |
public static WorldTransform ( List |
||
points | List |
|
pos | ||
forward | ||
side | ||
Résultat | List |
public static WorldTransform ( List |
||
points | List |
|
pos | ||
forward | ||
side | ||
scale | ||
Résultat | List |