- Home /
Rotate game object and its rigid body independently of each other?
Is it possible to keep rotations of a game object and its rigid body seperate?
More extensively, is it possible to seperate all other components of a game object in a similar manner?
Answer by Julien-Lynge · Sep 30, 2011 at 11:35 PM
The transform of a game object is what describes an object in 3D space. Every game object and every component must be linked to a transform or else it can't exist in the scene. To reiterate: all a transform really is is the description of where an object is in the scene.
In terms of your question the answer is a resounding no: you cannot separate components from their attached game object, nor can you separate a game object from its transform. That being said, the way that you separate various components from each other is to use child objects. That way you can have the audio listener at a robot's head, and locomotion scripts attached to its feet, and a laser script attached to its gun, etc.
What you're asking sounds very strange to me. It's like asking "can I detach a person's gravity from their body?" What is it that you're trying to do, and why don't you think you can do it in Unity's current framework?
Your answer
![](https://koobas.hobune.stream/wayback/20220612231929im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Flip over an object (smooth transition) 3 Answers
Bullet not moving towards player 3 Answers
How to make a dynamic bow shot and the arrow to curve and turn correctly when shot? 0 Answers
How to detect right answer or not 0 Answers
I want to make the mouse rotate an object. How do I make this code work 1 Answer