1

Closed

Creating objects OnCollision

description

I'm trying to create a simple circle in an oncollision handler but i am getting an assert fail (island.cs line 444). What am I supposed to do?

My Code:
        var b = BodyFactory.CreateCircle(world, 0.5f, 1.0f, active.Position, null);
Island.cs
        public void Add(Body body)
        {
            Debug.Assert(BodyCount < _bodyCapacity);
            Bodies[BodyCount++] = body;
        }
Closed Jun 23, 2013 at 1:33 AM by genbox
Unable to reproduce the error. See if you can reproduce it in a Testbed test (look for the Testbed under downloads).

comments