I suppose that little question may be confusing, so let me explain.
Most video game physics takes for granted that you are on the surface of a planet, or something similar, so gravity every where on the map has the same vector.
But I want to make a simulation of a space craft, based on realistic technology. In space, obviously there is no gravity, so on a space craft it must be simulated if you want any. My space craft in particular makes use of centripetal forces, where the personnel area of the craft is a spinning drum, and people walk around the curved surface of the drum.
The effect I need, in short, is that gravity “flows” outward from an axis of rotation. So say the z-axis is the axis of rotation, everything would try to fly away perpendicular to it.
Is this possible?
Example, this spacecraft from the movie “Mission to Mars”: https://www.youtube.com/watch?v=a8V6jTW3xTQ