Hard Light Productions Forums

Hosted Projects - Standalone => Diaspora => Diaspora Tech Help => Topic started by: Andoulline on December 22, 2012, 12:49:52 pm

Title: The battlestar flyswatter
Post by: Andoulline on December 22, 2012, 12:49:52 pm
I was experimenting with the editor to see if I could make something worthwile, and during a test the battlestar that I placed suddenly started moving and spinning around rapidly (without any pattern). It was only supposed to sit in a place (at that time) and launch a few vipers.... The few that managed to exit this deathtrap's tubes/hangar got instantly vaporized by the collision with it a second later. Actually the small explosions appearing everywhere looked almost like a defective flak screen.
Title: Re: The battlestar flyswatter
Post by: Legate Damar on December 22, 2012, 02:25:28 pm
Screenshot?
Title: Re: The battlestar flyswatter
Post by: FreeSpaceFreak on December 22, 2012, 02:56:37 pm
the battlestar that I placed suddenly started moving and spinning around rapidly (without any pattern).

What is the model (POF file)? Does it have a moment of inertia? You may want to try and reproduce the odd behaviour with a debug build, and see which warnings/errors come up along the way.
Title: Re: The battlestar flyswatter
Post by: Andoulline on December 22, 2012, 03:45:59 pm
Screenshot?

Well I recorded it sooo here: http://www.youtube.com/watch?v=0ju6ry8WJgY

What is the model (POF file)? Does it have a moment of inertia? You may want to try and reproduce the odd behaviour with a debug build, and see which warnings/errors come up along the way.

I'll try those tomorrow when I have time and energy for it.
Title: Re: The battlestar flyswatter
Post by: niffiwan on December 22, 2012, 05:20:25 pm
That reminds me of issues you can have when you've got small ships docked with larger ones, i.e. without any regard to inertia/mass, the smaller ship maneuvers as normal, swinging the larger ship around as though it were weightless.  Although having said that, I thought the code was fixed to avoid this happening. 

Anyway, in addition checking out FreeSpaceFreak's suggestions, is anything docked with the Battlestar?
Title: Re: The battlestar flyswatter
Post by: FreeSpaceFreak on December 23, 2012, 05:08:42 am
Well I recorded it sooo here: http://www.youtube.com/watch?v=0ju6ry8WJgY

Hmm, that's the Theseus, right? Its model file should be quite all right. It also doesn't look like a zero-MOI issue (where the rotation speed would typically be on the order of the frame rate). So niffiwan's suggestion is probably more likely.
Title: Re: The battlestar flyswatter
Post by: The E on December 23, 2012, 05:19:28 am
That reminds me of issues you can have when you've got small ships docked with larger ones, i.e. without any regard to inertia/mass, the smaller ship maneuvers as normal, swinging the larger ship around as though it were weightless.  Although having said that, I thought the code was fixed to avoid this happening.

Not sure if that fix is in the Diaspora build.
Title: Re: The battlestar flyswatter
Post by: Andoulline on December 23, 2012, 07:42:58 am
Anyway, in addition checking out FreeSpaceFreak's suggestions, is anything docked with the Battlestar?

There were a few ships in it but by the time I recorded it they all took off, actually when they were in it's normal hangar everything was fine, this happened when I put them in the launch tubes. I may have done something wrong there, as I said I was testing.

Edit: found the problem, it was the moment when the vipers take off from the launch tubes.