RemiR
December 11, 2012, 9:46am
1
I made a test project with a simple scene which contains a character, a camera and 3 walls.
I use this scene for developing a custom camera script.
My scene works perfectly on computer but it don’t work on ios device.
The character goes through walls…
Do you know this problem? How I solve this ?
Some screens :
Thank you very much for your help.
How thin are your wall colliders?
RemiR
December 11, 2012, 2:12pm
3
My wall is cube object and one of cube scale is : 2, 15.8, 50.9
Box colider scale of cube is 1, 1, 1
RemiR
December 11, 2012, 2:17pm
4
You think that my walls are too thin ?
Walls seem to be reasonably thick. Though your character controller doesn’t look good Skin Width is way to high for your capsule dimensions. It is recommended to keep it 10% of the radius. (http://docs.unity3d.com/Documentation/Components/class-CharacterController.html )
RemiR
December 11, 2012, 4:36pm
6
I try to increase the size of the collision zone… nothing changes.
I try to replace my character by a cube… nothing changes and the cube through walls on ios devices.
Actually you should decrease collision zone for your CharacterController, setting Skin Width to something like 0.003.
Is this cube just plain cube or one with CharacterController component on it? If it is simple cube (with box collider), then maybe your wall colliders are disabled?
RemiR
December 17, 2012, 9:56am
8
Actually you should decrease collision zone for your CharacterController, setting Skin Width to something like 0.003.
Is this cube just plain cube or one with CharacterController component on it? If it is simple cube (with box collider), then maybe your wall colliders are disabled?
The skin width setting didn’t resolve my problem with colliders.
Here is my unity scene :
If you want i can send you my unity project because i’m lost…
I don’t understand why my scene works perfectly on computer but it fails on ios devices
RemiR
December 17, 2012, 1:35pm
9
It’s very strange…
On IOS devices, when this cube falls on a wall with gravity it doesn’t cross the wall.
But when the cube is on the ground… it passes through the walls
I believe that’s because you have Character controller attached to it and its capsule collider is bigger than your box. So if box is on the ground the capsule is already penetrating wall. Character controller overrides many aspects of physics and having initial state as such might cause undesired effects.
RemiR
January 7, 2013, 11:42am
11
It still doesn’t work. I tried everything. Can you look my project quickly because I really don’t understand ?
RemiR
January 7, 2013, 11:56am
12
I try this Unity Script Controller (Character motor, Platform Input Controller, …) and wall collisions fail again on IOS Devices.
But it’s strange because character collisions works with terrain.
I don’t know what to do, please send me help !
chishti
January 7, 2013, 12:24pm
13
@RemiR
have you checked the “Layer Collision Matrix” in PhysicsManager of your project?
Are layers of wall and character are colliding there?
RemiR
January 7, 2013, 1:34pm
14
Sorry i don’t understand your answer. The only ones that work are collisions between character and terrain. Others (Wall / Character) don’t work on IOS devices but they work on computer.
RemiR:
I try this Unity Script Controller (Character motor, Platform Input Controller, …) and wall collisions fail again on IOS Devices.
But it’s strange because character collisions works with terrain.
I don’t know what to do, please send me help !
Submit your repro project as bug report and poke our support team via support@unity3d.com and pass them case number for repro project.
RemiR
January 7, 2013, 2:16pm
16
Ok i just sent a bug report. Case #00114172
I hope that my problem is easy to resolve.
Thank you,
Im having a similar problem with regards to Colliders on the iPad. Has this been resolved? many thanks
Just fixed my issue by making the First Person Controller Graphics Mesh Collider Concave…just untick convex. Resolves the Hull +255 Polys issue in the Editor also…