Hard Light Productions Forums

Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: CommanderDJ on September 01, 2010, 09:30:44 am

Title: Ship fragments conserve momentum
Post by: CommanderDJ on September 01, 2010, 09:30:44 am
Hey all,
I've known all along that one of the defining features of the SCP is it's attention to detail. But never was I so convinced of this as when I realized that when a fighter or bomber explodes, if there's two fragments, they move in opposite directions, if there's three fragments, one will move off "up", while the other two will be approximately 45 degrees either side of "down", and it continues for four and so on. If the ship question was moving at a high speed in a particular direction, the velocities of the fragments are altered so that they also move in that general direction after the explosion. In short: these fragments seem to be obeying the law of conservation of momentum. I recognized it as it looked like one of those stereotypical physics questions where a particle explodes into three fragments etc etc. When I saw this, it blew my mind. This is absolutely amazing, and whoever put that in should be given infinite girlfriends for ever. You guys are truly awesome.

CommanderDJ

PS If this isn't really happening and I'm just imagining it, it's going to be so embarrassing. :D
Title: Re: Ship fragments conserve momentum
Post by: General Battuta on September 01, 2010, 10:22:16 am
I may be wrong, but hasn't it been that way since retail? I think V deserves the credit here.
Title: Re: Ship fragments conserve momentum
Post by: The E on September 01, 2010, 10:24:41 am
Yeah, I don't think that's an SCP addition.
Title: Re: Ship fragments conserve momentum
Post by: Solatar on September 01, 2010, 10:53:54 am
The most recent MediaVPs/SCP (I'm not sure who's responsible) have added flaming trails to debris, so it's a lot more noticeable now than it was in retail.  And I agree; it looks badass.
Title: Re: Ship fragments conserve momentum
Post by: General Battuta on September 01, 2010, 11:33:01 am
The most recent MediaVPs/SCP (I'm not sure who's responsible) have added flaming trails to debris, so it's a lot more noticeable now than it was in retail.  And I agree; it looks badass.

Fury, Wanderer, Nighteyes and the Blue Planet 2 team are responsible, with help from Zacam and the MVPs.
Title: Re: Ship fragments conserve momentum
Post by: Wanderer on September 01, 2010, 11:58:15 am
The code handling the collision physics is a very good one. It seems more like intended for physics sim until the modifiers required for gameplay and not for realism are added into it
Title: Re: Ship fragments conserve momentum
Post by: Fury on September 01, 2010, 12:01:32 pm
Fury, Wanderer, Nighteyes and the Blue Planet 2 team are responsible, with help from Zacam and the MVPs.
The flaming debris script was done by Wanderer. Particlesmoke01 was made by Nighteyes. Those two ended up being paired and that's it for the credits.
Title: Re: Ship fragments conserve momentum
Post by: CommanderDJ on September 01, 2010, 11:09:52 pm
Haha, lol. I see. Yeah, I guess the flaming debris made it a lot more noticeable. Credit to  :v: then for putting that in, and credit to those who made the flaming debris possible! <3
Title: Re: Ship fragments conserve momentum
Post by: Aardwolf on September 04, 2010, 06:45:28 pm
As far as the conservation of momentum... it's pretty much a must.

I mean, if they didn't do it, it'd look freaky. So much so that even if it wasn't something they initially took into consideration when designing the engine, they probably would have noticed it and been like "ew, fix that".