# Reflected Point
Grammar — sourcePoint|Source Point reflected at targetPoint|Target Point with normal facing normalFacing|Angle
Flags —Native
|Function
Returns the point that an object would bounce to if it was travelling from the source point and hit a wall with the specified normal angle at the target point.
# Arguments
point
— Source Pointpoint
— Target Pointfixed
— Normal Facing
Returns — point
native point PointReflect(
point source,
point dest,
fixed angle,
);
# Related
Category: Point / Offsets
- [F] —
point
— Point Facing Angle — ( libNtve_gf_PointFacingAngle ) - [F] —
point
— Point With Z Offset — ( libNtve_gf_PointWithZOffset ) - [F] —
point
— Point With Offset — ( PointWithOffset ) - [F] —
point
— Point With Polar Offset — ( PointWithOffsetPolar ) - [F] —
point
— Point Offset Towards Point — ( libNtve_gf_PointOffsetTowardsPoint ) - [F] —
point
— Random Point Between Points — ( libNtve_gf_RandomPointBetweenPoints ) - [F] —
point
— Reflected Point — ( PointReflect ) - [F] —
point
— Interpolated Point — ( PointInterpolate ) - [F] —
point
— Mid-Point — ( MidPoint )
# Examples
# campaigns/liberty.sc2campaign
// L6022
PointReflect(gv_lastSawPosition, lv_currentSawPosition, lv_reflectionNormalFacing)
// L6022
PointReflect(gv_lastSawPosition, lv_currentSawPosition, lv_reflectionNormalFacing)