for collisions using CollisionDetector.CheckCollision(GraphicComponent object1, GraphicComponent object2,…). How do i cast a RsWorkObject/RsToolData to a GraphicComponent?
Hi
I’m not sure what you are trying to do.
But it’s not possible to do collision detection between two rapid data types.
Collision detection is done between graphical objects which is probaly in your case the graphical tool (not the tooldata) and the part/fixture where you have defined your workobject.