I have a funny issue with blender objects imported into Unity 3.1pro (problem also occured in 1.7 iPhone Basic)
Its a board game and I place the pieces above the fields they are supposed to land on. Then I turn isKinematic off and gravity places the pieces nicely on the board. (I place the pieces in the coord system based on the position of the fields, so they should be landing precisely in the center of the fields)
Now, some of the pieces are placed slightly off center in the editor game view, but they are placed dead center on the iPad when testing ? I didn’t think there would be differences between the in-editor game playing and the on iPad playing of the same game ? Is there a difference in the physix settings that can account for the in editor im-preciseness ?
Well, it works on the iPad, but it would be great to know why there is a difference
Do the pieces appear to be drifting as they fall and/or land or is the problem that they are released at the wrong position somehow? You might be able to check this in the editor by pausing the game as a piece falls then switching to the scene view and checking the position of the object. Can you post the code which releases a piece to physics control?
They drift slightly ajar when they fall. But only some of the pieces. Not all. But strangely enough only on the webplayer and in the unity game scene. Never on the physical iPad.
I have checked all sorts of things regarding the positioning, even resetting the values from the original fields.
The physix are the same cross platform right ? Ill find and submit a part of the script.
If this appears to be a physics problem then you might be able to solve it by adding a configurable joint component to each piece and lock the X and Z axes as the piece falls. This will force the piece to fall straight down to your chosen position.
I just revisited the old project, since the latest one is now complete. And Lo and Behold, setting the new Rigidbody / Constraints “Freeze Position” values X Z solved the issue. So now everything works nice and smooth ! Issue solved.