# Reflected Point

GrammarsourcePoint|Source Point reflected at targetPoint|Target Point with normal facing normalFacing|Angle
FlagsNative | 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 Point
  • point — Target Point
  • fixed — Normal Facing

Returns — point

native point PointReflect(
	point source,
	point dest,
	fixed angle,
);

Category: Point / Offsets

# Examples

# campaigns/liberty.sc2campaign

MapScript.galaxy

// L6022
PointReflect(gv_lastSawPosition, lv_currentSawPosition, lv_reflectionNormalFacing)
// L6022
PointReflect(gv_lastSawPosition, lv_currentSawPosition, lv_reflectionNormalFacing)