MovableObject:MoveOutOfTerrain

From Data Realms Wiki

(Difference between revisions)
Jump to: navigation, search
Beautifybot (Talk | contribs)
(updating function page)

Latest revision as of 00:50, 28 June 2012

Function
SyntaxMoveOutOfTerrain( * Only consider materials stronger than this in the terrain for intersections. )
Description:
Checks whether any of the Atom:s in this MovableObject are on top of terrain pixels, and if so, attempt to move this out so none of this' Atoms are on top of the terrain any more.
ReturnsWhether any intersection was successfully resolved. Will return true even if there wasn't any intersections to begin with.




Example
DescriptionPlaceholder!
Code
  1. for k,v in pairs(PagesWithoutExamples) do
  2.     v.MakeExample(NoErrors);
  3. end
OutputPlaceholder!
Personal tools