[RELEASED] Walk Inside Rigidbody - NEW: v2!

Hello, Unity Developers!

I’m excited to introduce “Walk Inside Rigidbody”, a physics asset, which tackles the complex challenge of implementing smooth character movement on or inside moving and rotating rigidbodies. Whether you’re designing a spaceship, a moving platform, an elevator or any dynamic environment, this tool will help you.

What Makes Walk Inside Rigidbody Special?

  • Compatibility with any player controllers based on non-kinematic rigidbody: The scripts can “fake” rigidbody rotation and velocities, so that it works also with controllers made for static environments. Example adapters are included with a very simple player controller and for Game Kit Controller (sold separately).

  • Easy to use: simply attach one single script to a vehicle and setup a simple trigger collider.

  • Customizable and transparent code: Includes well-documented C# code with inline comments, so you can easily understand and adapt it to your game’s needs.

  • Expanding Features: Regular updates to incorporate more concepts and solutions for diverse project requirements.

Get Started!

Feel free to ask questions or share any feedback here!

Cheers,
[Christian Schuster / “C-B-S” / Phuntasy Productions]

1 Like

New Version 2.0.0 RELEASED!

v2.0.0 - Massive engine update!

New features

  • JointZone: Added support for Moving Platforms & Kinematic Rigidbodies
  • JointZone: Added support for simple origin shifting
  • JointZone: Added support for Rigidbody linear and angular drag
  • JointZone: Added support for Rigidbody friction
  • JointZone: Added support for Rigidbody bounce
  • JointZone: Added support for Rigidbody rolling (sphere)
  • JointZone: Added configuration to hook on non-player rigidbodies and/or the player rigidbody
  • JointZone: Added configuration to allow to be joined by other JointZones
  • GravityZone: Gravity force added to rigidbodies inside the zone (constant or based on mass and distance)

Improvements

  • JointZone: Massive refactoring of non-player rigidbody simulation - it’s not considered “experimental” any more.
  • JointZone: Massive refactoring of the core handling of relative position and rotation changes.
  • JointZone: Additional demo scenes
  • JointZone: The script can now be in a child gameobject under the rigidbody

Changes

  • Changed from built-in rendering engine to URP
  • Changed from Unity 2022 to Unity 6.3
  • JointZone: Removed support for faking Rigidbody spaces. Any controller must be able to calculate velocities and forces in world space.

New version released:

v2.1.0 Moving Platforms!

https://youtu.be/8IsSW4nyKF8

New features

  • MovingPlatform: Added draggable wireframe of the platform at the target position in the editor

Improvements

  • MovingPlatform: Added simple prefab for moving platforms
  • MovingPlatform: Added jumping parcour to the demo scene with crazy moving platforms
  • MovingPlatform: Improved MovingPlatform script for smoother movement

Breaking Changes

  • MovingPlatform: Target pose is now stored as offset to the starting pose - existing usage must be updated!
  • MovingPlatform: MovingPlatform inside other Rigidbody JointZone must not be parented any more in the scene hierarchy.
  • JointZone: Must not be on other gameobject than the trigger collider - child trigger colliders are ignored now.

Bugfixes

  • JointZone: Fixed trigger collider volume calculation to decide which JointZone enters which other JointZone
  • JointZone: Fixed circular dependency issues in JointZone nesting logic for some edge cases
  • JointZone: Fixed calculation of velocities on collision with parent rigidbody
  • JointZone: Fixed missing enter JointZone when leaving overlapping JointZone of non-nested vehicles
  • Demo Scene: Added dependency to gltfast - needed to render earth prefab

This looks like a really useful tool, especially for handling movement on moving platforms and vehicles something that’s usually tricky to get right. Love that it’s easy to set up and comes with clear code. Definitely interested to see how it performs in different game scenarios.

1 Like