Over 11,000 five-star assets

Rated by 85,000+ customers

Supported by 100,000+ forum members

Every asset moderated by Unity

Home
Tools
Physics
This content is hosted by a third party provider that does not allow video views without acceptance of Targeting Cookies. Please set your cookie preferences for Targeting Cookies to yes if you wish to view videos from these providers.
1/6
This asset provides different implementations to walk inside a moving rigidbody, e.g. a spaceship. In other words, these scripts provide artificial gravity and inertia dampeners to your vehicle.
Render pipeline compatibility
The Built-in Render Pipeline is Unity’s default render pipeline. It is a general-purpose render pipeline that has limited options for customization. The Universal Render Pipeline (URP) is a Scriptable Render Pipeline that is quick and easy to customize, and lets you create optimized graphics across a wide range of platforms. The High Definition Render Pipeline (HDRP) is a Scriptable Render Pipeline that lets you create cutting-edge, high-fidelity graphics on high-end platforms.
Unity VersionBuilt-inURPHDRP
2022.3.42f1
Compatible
Compatible
Compatible
Description

This asset is intended to provide you working implementations of various concepts, how to solve the problem on how to walk inside a moving and rotating rigidbody.

https://phuntasy-productions.itch.io/walk-inside-rigidbody

Right now the following player controllers are supported:

  • a very basic included player controller based on non-kinematic Rigidbody
  • Game Kit Controller (not included, get it from the Asset Store)

More different concepts to solve this problem type will be added in future, as well as integration with more player controllers.


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-rigidbody


Please reach out to me on my discord for support or any question about this asset: https://discord.gg/frt93TEsR7

Technical details

Right now there are two working examples included in the demo scenes:


The GhostShip

The ghost ship solution basically duplicates the spaceship into an "Inside" ship and an "outside" ship.


PRO:

  • No issues with physics!

CON:

  • Any collider of the player and around the player must be synchronized - which can be a lot!

The JointShip

The 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:

  • No synchronization needed, just one instance of the vehicle!

CON:

  • Emulated rigidbody may behave differently than a regular rigidbody, e.g. when colliding.

Walk Inside Rigidbody

(not enough ratings)
26 users have favourite this asset
(26)
$9.99
Seat
1
Updated price and taxes/VAT calculated at checkout
Refund policy
This asset is covered by the Unity Asset Store Refund Policy. Please see section 2.9.3 of the EULA for details.
Secure checkout:
Supported payment methods: Visa, Mastercard, Maestro, Paypal, Amex
License type
File size
136.4 MB
Latest version
1.4.0
Latest release date
Feb 10, 2025
Original Unity version
2022.3.42
Quality assets
Over 11,000 five-star assets
Trusted
Rated by 85,000+ customers
Community support
Supported by 100,000+ forum members
Unity logo
Language
Feedback
Partners Program
Partners
USD
EUR
Copyright © 2025 Unity Technologies
All prices are exclusive of tax
USD
EUR