Code: Select all
- (void) adjustVelocity:(Vector) xVel
{
if (self != [UNIVERSE station]) [super adjustVelocity:xVel]; //dont get moved
}
By moving the station you can have all kinds of weird things, like what happens if it goes into a wormhole? In fact, I guess it is possible to have a wormhole hit a station anyway (a wormhole missile might get implemented sometime?)
At the moment, I think Stations can be nudged into the planet, and pass through and disappear into space on the other side (they dont take heat damage). All kinds of odd things make more sense if they become immobile (scripted and other things not the main station should be unaffected).
I am sure there are some with collisions, I am also looking at ShipEntity collideWithShip.