summary |
shortlog |
changelog |
graph |
tags |
bookmarks |
branches |
files |
changeset |
file |
latest |
revisions |
annotate |
diff |
comparison |
raw |
help

LuaGears.wiki

changeset 1793 | b549350dca64 |

parent 1792 | 3182a44b158e |

child 1825 | 1d2aeacbdd8e |

equal
deleted
inserted
replaced

1792:3182a44b158e | 1793:b549350dca64 |
---|---|

141 Returns a tuple of dx,dy values for the specified gear. |
141 Returns a tuple of dx,dy values for the specified gear. |

142 |
142 |

143 === `SetGearVelocity(gearUid, dx, dy)` === |
143 === `SetGearVelocity(gearUid, dx, dy)` === |

144 Gives the specified gear the velocity of `dx`, `dy`. |
144 Gives the specified gear the velocity of `dx`, `dy`. |

145 |
145 |

146 === `CopyPV(gearUid, gearUid)` === |
146 === `CopyPV(fromGearUid, toGearUid)` === |

147 This sets the position and velocity of the second gear to the first one. |
147 When given two gears as arguments, this sets the position and velocity of `toGearUid` to the position and velocity of `fromGearUid`. |

148 |
148 |

149 === `FindPlace(gearUid, fall, left, right[, tryHarder])` === |
149 === `FindPlace(gearUid, fall, left, right[, tryHarder])` === |

150 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. |
150 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. |

151 |
151 |

152 Example: |
152 Example: |