Size of Box Collider causing instantiation problems

Hi,

I’m creating a game for iPad using unity iPhone Basic 1.7.

I’m instantiating gameobjects by touch using a raycast hitting a collider.

The problem I’m having is that my objects will only instantiate if the box collider on the gameobject (used for in game collision detection) is a set size.

For example if I set the box collider size on the gameobject to x128 y32 z128, they game object instantiates fine but if I change the size of the box collider to say x128 y32 z256 my gameobject won’t instantiate.

This seems very weird to me. If anyone else has suffered with a similar problem or knows a work around for this your help would be much appreciated.

Cheers
Ben

One more thing to add.

If I change the scale of the object leaving the box collider set to a size that was instantiating, the gameobject also fails to instantiate.

You really should fork over the $100. Tell us if it works in the current version.

I have the current version but I was pushing to finish and didn’t want to spend the time upgrading my project at the moment.

After some intense time wasting trying intricate different things the simple answer was staring me in the face (As I couldn’t test using the unity remote on the ipad in version 1.7 probably a good reason why I should have upgraded my project).

When I instantiate my object the co-ordinates are offset so the object appears off screen then moves on to the screen area. Quite a bit further outside of the screen area are bounds for cleaning up game objects. When I made the colliders bigger the instantiated game object touch the bounds and destroyed itself instantly.

My Bad, I was just searching so deep for the problem I could see the wood for the tree’s

Cheers
Ben