Data Realms Fan Forums http://45.55.195.193/ |
|
Removing Settled MOPixels http://45.55.195.193/viewtopic.php?f=73&t=15790 |
Page 1 of 1 |
Author: | Kyred [ Fri Jul 10, 2009 10:50 am ] |
Post subject: | Removing Settled MOPixels |
Is there anyway, though Lua, to remove MOPixels that have already settled? (ie. have become immobile) |
Author: | 411570N3 [ Fri Jul 10, 2009 11:01 am ] |
Post subject: | Re: Removing Settled MOPixels |
What? They settle into terrain. So if they've settled they have become terrain. On the other hand, if you just want to remove them as they stop moving you could just delete them as the velocity hits zero... |
Author: | Geti [ Fri Jul 10, 2009 11:04 am ] |
Post subject: | Re: Removing Settled MOPixels |
i think he means all the settled mopixels of a cirtain type. i dont think we can do anything with terrain as of yet, so no. |
Author: | Grif [ Fri Jul 10, 2009 4:09 pm ] |
Post subject: | Re: Removing Settled MOPixels |
Give them a custom strength and CastObstructionRay for anything above that strength? |
Author: | TheLastBanana [ Fri Jul 10, 2009 11:16 pm ] |
Post subject: | Re: Removing Settled MOPixels |
As of yet, we can't turn terrain pixels into MOPixels. GetTerrMatter gets the material index of the pixel at that point. CastStrengthRay and CastSWeaknessRay raycast for material of certain strengths. That's about all we have for now, though. |
Page 1 of 1 | All times are UTC [ DST ] |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |