LuaGears: Update arg names for CopyPV
authorWuzzy
Wed, 17 Apr 2019 14:36:14 +0100
changeset 1793 b549350dca64
parent 1792 3182a44b158e
child 1794 7b07726d12f3
LuaGears: Update arg names for CopyPV
LuaGears.wiki
--- a/LuaGears.wiki	Wed Apr 17 14:32:17 2019 +0100
+++ b/LuaGears.wiki	Wed Apr 17 14:36:14 2019 +0100
@@ -143,8 +143,8 @@
 === `SetGearVelocity(gearUid, dx, dy)` ===
 Gives the specified gear the velocity of `dx`, `dy`.
 
-=== `CopyPV(gearUid, gearUid)` ===
-This sets the position and velocity of the second gear to the first one.
+=== `CopyPV(fromGearUid, toGearUid)` ===
+When given two gears as arguments, this sets the position and velocity of `toGearUid` to the position and velocity of `fromGearUid`.
 
 === `FindPlace(gearUid, fall, left, right[, tryHarder])` ===
 Finds a place for the specified gear between x=`left` and x=`right` and places it there. `tryHarder` is optional, setting it to `true`/`false` will determine whether the engine attempts to make additional passes, even attempting to place gears on top of each other.