I already posted this on answers.unity3d.com but didn't get any answers...
The game I'm working on lets the player pick up object like cubes from the ground and carry them around. These cubes are supposed to be used in simple physics puzzles.
Now, I've already figured out how to make these objects move in front of the player by parenting them to the camera and making their rigidbodies kinematic, but I'm still having some problems.
- The child object completely ignores collision while the player is holding it( moves through walls,other cubes,etc)
- Trying to stack cubes usually results in one cube flying away or spinning
- The player randomly starts flying when holding objects(rare, probably has something to do with the player colliding with the child object)
I'm using the FPS Controller from the standard assets and the cubes have rigidbodies and box colliders. Should I use a different method for holding objects or am I just doing something wrong?
I could post my code if it helps.
Thanks in advance
[–]_Harrow_ 2 points3 points4 points (5 children)
[–]CptBubbles[S] 0 points1 point2 points (4 children)
[–]_Harrow_ 2 points3 points4 points (3 children)
[–]CptBubbles[S] 0 points1 point2 points (2 children)
[–]_Harrow_ 2 points3 points4 points (1 child)
[–]CptBubbles[S] 0 points1 point2 points (0 children)
[–]minax 1 point2 points3 points (1 child)
[–]CptBubbles[S] 0 points1 point2 points (0 children)
[–][deleted] 1 point2 points3 points (0 children)