Game Development Community

CollisionDelegate crashing xbox

by Will O-Reagan · in Torque X 2D · 06/18/2008 (3:18 pm) · 0 replies

I tried using this collision delegate inside a component and it crashed on the xbox, but worked on pc. I'm not sure if this is a bug.

public static T2DOnCollisionDelegate PCollision
        {
            get { return pCollision; }
        }


        public static void pCollision(T2DSceneObject ourObject, T2DSceneObject theirObject, T2DCollisionInfo info, ref T2DResolveCollisionDelegate resolve, ref T2DCollisionMaterial physicsMaterial)
        {
            T2DPhysicsComponent.BounceCollision(ourObject, theirObject, ref info, physicsMaterial , false);
        }

About the author

I have a degree in dramatic art, and literature, from UC Santa Barbara. I've worked for a few studios, also at Animax Ent in 2008, and some smaller studios. Currently studying Computer Science at CSU Channel Islands.