Here's a tough one for you. I've got a space ship that has a full 6 axis control system. It's custom coded with real physics equations, not karma or anything else.
Unlike the standard walking players who only have forwards/backwards and left/right for movement with pitch up/down and yaw left/right for rotation, I have 6 axis. That means the ships can be moved forwards/backwards, left/right or up/down and can be rotated with pitch up/down, yaw left/right and roll left/right. All of it works offline properly (though I probably need to recode it for effeciency) but online is another story. The actual mechanism as to how this works is quite simple. The inputs you pressed are passed to the ship which then activates each of the thrusters on the ship responsible for that movement. Each individual thruster then applies a force to the ship and all of these forces are added together to find the new movement and rotation. Pretty cool stuff, but I've got no clue how to make it work online.
Does anyone know how this sort of thing is done and could help me out? I doubt I'll be able to find somebdoy who is willing to do this for me so I'm trying to figure out how to do it myself but so far no luck, I'm totally lost here, so any help would be appreciated.
Unlike the standard walking players who only have forwards/backwards and left/right for movement with pitch up/down and yaw left/right for rotation, I have 6 axis. That means the ships can be moved forwards/backwards, left/right or up/down and can be rotated with pitch up/down, yaw left/right and roll left/right. All of it works offline properly (though I probably need to recode it for effeciency) but online is another story. The actual mechanism as to how this works is quite simple. The inputs you pressed are passed to the ship which then activates each of the thrusters on the ship responsible for that movement. Each individual thruster then applies a force to the ship and all of these forces are added together to find the new movement and rotation. Pretty cool stuff, but I've got no clue how to make it work online.
Does anyone know how this sort of thing is done and could help me out? I doubt I'll be able to find somebdoy who is willing to do this for me so I'm trying to figure out how to do it myself but so far no luck, I'm totally lost here, so any help would be appreciated.