Page 1 of 1

Collision event requires unobtainable CollisionEntry class?

Posted: Tue Mar 15, 2011 1:21 pm
by Spankenstein
If I set up a new collision event:

Code: Select all

entity.CollisionInformation.Events.InitialCollisionDetected += new InitialCollisionDetectedEventHandler<EntityCollidable>(Events_InitialCollisionDetected);
then I can't hook it up to a method as both the 'CollisionEntry' and 'EntityCollisionInformation' classes can't be found?

I searched the source but couldn't find them in there either. Where have I gone wrong?

Re: Collision event requires unobtainable CollisionEntry cla

Posted: Tue Mar 15, 2011 3:59 pm
by Norbo
then I can't hook it up to a method as both the 'CollisionEntry' and 'EntityCollisionInformation' classes can't be found?
There were a few namechanges during the last couple of betas:

CollisionEntry -> BroadPhaseEntry
CollisionInformation -> Collidable
EntityCollisionInformation -> EntityCollidable

Re: Collision event requires unobtainable CollisionEntry cla

Posted: Tue Mar 15, 2011 4:01 pm
by Spankenstein
Cool thanks. The XML (intellisense?) needs updating then I think.

Re: Collision event requires unobtainable CollisionEntry cla

Posted: Tue Mar 15, 2011 4:14 pm
by Norbo
It looks like the v0.15.0.33 (release version) .chm and binaries have the correct xml comments at a glance. The latest binaries are on the downloads page on Codeplex (bepuphysics.codeplex.com), and the .chm is on the documentation tab. Visual studio might also be just looking at some old xml docs, rebuilding the project might force it to look again or something.

Re: Collision event requires unobtainable CollisionEntry cla

Posted: Thu May 19, 2011 5:06 am
by JoelB
Was the Tag property removed from the BroadPhaseEntry or am I just missing something?

Re: Collision event requires unobtainable CollisionEntry cla

Posted: Thu May 19, 2011 5:17 am
by Norbo
Was the Tag property removed from the BroadPhaseEntry or am I just missing something?
Nope; technically it hasn't been added (to the official stable release) yet :)

It's in the latest development version, which you can grab here:
http://bepuphysics.codeplex.com/SourceC ... evelopment

Re: Collision event requires unobtainable CollisionEntry cla

Posted: Thu May 19, 2011 4:20 pm
by JoelB
Awesome. Thanks!