Hello Guest

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - adscott1982

Pages: [1]
1
Support / Static Sprite Batcher, Collision Problem
« on: September 12, 2012, 12:24:55 am »
I am just starting out and I have made a scene with ground sprites and a rock and a crate. All sprites have appropriate colliders. The rock and the crate have rigidbody components.

When the ground sprites are not part a static sprite batch the rock and the crate collide correctly with the ground.

When the ground sprites are part of a static sprite batch the crate correctly collides, but the rock passes straight through! What is going on?

Another query: I have correctly set the rock polygon collider, but when it rolls, it seems that the centre of gravity is completely incorrect. If you can remember, the rock has a large base and a thin top. The centre of gravity seems to be closer to the top than the base, this makes the rock more inclined to roll onto its top than would be normal. Is there a way to modify this?

Pages: [1]