This asset allows the player to walk inside a moving rigidbody, e.g. a spaceship.
The scripts provide artificial gravity and inertia dampeners to any vehicle.This asset solves the problem of smooth walking inside a moving and rotating rigidbody.In general, all rigidbody based player controllers should work with this asset, but for some controllers an adaptor may be required. Right now the following player controllers are supported:a very basic included player controller based on non-kinematic RigidbodyGame Kit Controller (not included, you can get it from the Asset Store)The c# code is included as clear text including inline comments to explain also the tricky parts.Play the demo scene!https://phuntasy-productions.itch.io/walk-inside-rigidbodyPlease reach out to me on my discord for support or any question about this asset: https://discord.gg/frt93TEsR7The JointShipThe joint ship solution glues the player rigidbody to the spaceship rigidbody using a Joint. A script translates all changes done to the player rigidbody into the local space of the spaceship by emulating rigidbody behaviour.PRO:Easy to use: just add a trigger collider and the JointZone script below a rigidbody - that's it!CON:Emulated rigidbody may behave differently than a regular rigidbody, e.g. when colliding.only in v1 demo scene:(The GhostShip)The ghost ship solution basically duplicates the spaceship into an "Inside" ship and an "outside" ship.PRO:Everything is calculated by Unity built-in physicsCON:Any collider of the player and around the player must be duplicated and synchronized.Some player controllers may have issues with interactables.



