Hi everyone,
I only had a couple hours last night to test or figure this out and it’s been bugging me all day at work thinking of a solution.
I want to have a rigidbody controller inside of another rigidbody based vehicle.
So the simplest scenario would be a box with a rigidbody that moves and spins and accelerates. And inside I can have my character move using physics with the inside of the ship as it’s own reference frame. So changes in velocity wont throw it around. But also since the character is physics controlled, it also knocks the ship around like when it jumps into a wall. Making the mass of the box so large that it cannot knock it around though realistic, I dont really like
When they are transform based movement character controllers and the cube moves using transforms and the character is a child of the box then it all works fine, but I like the natural movements simulated using a rigidbody for the box and character.
One idea ive had could be to have the rigidbody vehicle in the game area and moving around, inside it would have the character with the camera attached to it. Then FARR away from the real vehicle is a non-moving non-rigidbody copy of the real vehicle with the same character inside which is being controlled by the player with its physics based movements and restrictions. And this character just moves the one with the camera in the same way, so the player wont know its sort of remote controlling the character in the real vehicle.
I havent gone about implementing this option. It sounds fairly complicated so Id like to explore other options too. Any features of Unity I dont know about which could make this simpler?
I’ve sorta asked a similar question that got me to this point and I was satisfied with it earlier but Ive come back to this and am trying to extend what I can do with it.