ICollisionDetector

Everything DG Kernel: Technical discussions and issues
Post Reply
GradyB
Posts: 1
Joined: Sat Jun 22, 2024 7:34 pm

ICollisionDetector

Post by GradyB »

Hi all
In KernelCAD 5.2 there was ICollisionDetector interface. I do not see it in the v7.1 Object Browser. What happened to it?
Thanks
gerard12
Posts: 20
Joined: Tue Jun 18, 2024 6:09 am

Re: ICollisionDetector

Post by gerard12 »

Hi

This interface is not implemented. We have removed it from the documentation.

I have been told this was one of the unfinished projects. The idea was to add a completely automated detector which would watch for any collisions in the model or a selected object set. Get in touch with support if you really need this. Just in case, the declaration was:

void AttachComponent(IUnknown* component);
void AddObject(ISection* object, VARIANT_BOOL stationary, VARIANT_BOOL includeChildren);
void Start(double minDist);
void Stop();
void GetCollisions( IRelationT** nearest, double* dist );
void ClearObjectArray();
void AttachComponent2(VARIANT* component);

Regards
Gerard
Post Reply