I'm having a problem with a platformer game I'm writing at the moment. Basically I have a bounce pad (a one way platform with a high >1 restitution value) - if the player continually bounces on the pad (approx 15 or so times, one after the other) the physics engine crashes with the following error:
[object AlchemyExit]
at MethodInfo-3312()
at MethodInfo-2955()
at Box2DAS.Dynamics::b2World/HandleStep()
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at Box2DAS.Common::b2EventDispatcher/dispatchEvent()
at Box2DAS.Dynamics::b2World/Step()
...currently there's arbout 180 objects in the level, most of which are static, but some dynamic and one or two kinematic objects. Players densiy is 10, friction 0.5, restiution 0.01 (to give verrry slight bounce when hitting ground). Bounce pad is a static platform with a restitution of 1.6. Gravity is set at 10. If the user hits a bounce pad I detect this in a BEGIN_CONTACT handler and simply play a sound effect and update a couple of other non-related variables.
Any ideas? It looks like alchemys crashing, but could WCK be involved somewhere? or is it something I've done?
Cheers all
[object AlchemyExit]
at MethodInfo-3312()
at MethodInfo-2955()
at Box2DAS.Dynamics::b2World/HandleStep()
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at Box2DAS.Common::b2EventDispatcher/dispatchEvent()
at Box2DAS.Dynamics::b2World/Step()
...currently there's arbout 180 objects in the level, most of which are static, but some dynamic and one or two kinematic objects. Players densiy is 10, friction 0.5, restiution 0.01 (to give verrry slight bounce when hitting ground). Bounce pad is a static platform with a restitution of 1.6. Gravity is set at 10. If the user hits a bounce pad I detect this in a BEGIN_CONTACT handler and simply play a sound effect and update a couple of other non-related variables.
Any ideas? It looks like alchemys crashing, but could WCK be involved somewhere? or is it something I've done?
Cheers all