 | MathHelperGetPositionAtDistance Method |
Returns the point at a certain distance from a another point.
Namespace:
Kit
Assembly:
Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0
Syntaxpublic static Vector3 GetPositionAtDistance(
Vector3 destination,
Vector3 origin,
float distance
)
Request Example
View SourceParameters
- destination
- Type: Vector3
The target point. - origin
- Type: Vector3
Current position. - distance
- Type: SystemSingle
Distance to maintain.
Return Value
Type:
Vector3
See Also