Error 48 No overload for 'InitialCollisionDetected' matches delegate 'BEPUphysics.Collidables.Events.InitialCollisionDetectedEventHandler<BEPUphysics.Collidables.StaticMesh>'
Here is where I add the delegate to my static mesh
Oh Man. Yeah, makes perfect, obvious, sense. Okay. This event and delegate stuff is intimidating. Okay, no error now but my event isn't being triggered when I walk on the specific mesh I'm applying it to. Is there another event handler/manager that I need to add my event to do get this work correctly?
Is there another event handler/manager that I need to add my event to do get this work correctly?
Nope, but if I remember correctly, there's a bug in v1.1 that causes deferred collision events (past-tense names) on static objects (StaticMesh, Terrain, InstanceMesh) to fail. Using immediate collision events (present-tense names) would avoid the problem, but then multithreading needs to be taken into account.