Data Realms Fan Forums
http://45.55.195.193/

Trails On MOS's: is it possible?
http://45.55.195.193/viewtopic.php?f=1&t=20295
Page 1 of 1

Author:  blargiefarg [ Tue Nov 23, 2010 6:36 am ]
Post subject:  Trails On MOS's: is it possible?

I ran a search on it, but I didn't find much. Is it at all possible? (I'd like to make a sort of trail for a tank shell)

Author:  Geti [ Tue Nov 23, 2010 9:43 am ]
Post subject:  Re: Trails On MOS's: is it possible?

Yes, but not in the sense of trails like MOPixels have (sadly. I've tried to get this to work but the atoms don't want to play ;-;). Use an AEmitter, it's just a MOSRotating that can emit any other MO from itself.

Author:  Azukki [ Tue Nov 23, 2010 6:27 pm ]
Post subject:  Re: Trails On MOS's: is it possible?

Emitters don't inherit velocity, ahem, so if you want a smooth line trail like those of MOPixels on other stuff, it might be best to use Lua to put a MOPixel at the same position and velocity as the object. You could then either keep that one MOPixel in place and replace it if it's gone, or have it be short-lived and replace it on every update.

Author:  Coops [ Tue Nov 23, 2010 8:28 pm ]
Post subject:  Re: Trails On MOS's: is it possible?

Emitters do Inherit the DIRECTION of the emitter's velocity though.

You could make it shoot the emitter with a spread = 0 and make the MaxVelocity and the MinVelocity the same as the FireVelocity..

I havent tried this though so I could be entirely wrong.

Author:  blargiefarg [ Tue Nov 23, 2010 9:10 pm ]
Post subject:  Re: Trails On MOS's: is it possible?

Thank you. This is very enlightening. I wonder if Data will ever implement trails on things other than MOPs

Author:  Azukki [ Wed Nov 24, 2010 3:17 am ]
Post subject:  Re: Trails On MOS's: is it possible?

Coops9753 wrote:
Emitters do Inherit the DIRECTION of the emitter's velocity though.

You could make it shoot the emitter with a spread = 0 and make the MaxVelocity and the MinVelocity the same as the FireVelocity..

I havent tried this though so I could be entirely wrong.
You're right, but if gravity, air resistance, a ricochet, or something changed the direction or speed, then the trail would be somewhat off. With OrientToVel, you can make it always fit the direction, but still not the velocity.

blargiefarg wrote:
I wonder if Data will ever implement trails on things other than MOPs
I'd wager a guess: no.

Page 1 of 1 All times are UTC [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/