17 #ifndef AGXCOLLIDE_GROUP_FOO_COLLIDER_H
18 #define AGXCOLLIDE_GROUP_FOO_COLLIDER_H
26 template <agx::UInt8 ShapeType>
34 agx::Physics::Geometry::ShapeInstance shape1, agx::Physics::Geometry::ShapeInstance shape2,
44 agx::Physics::Geometry::ShapeGroupInstance group = shape1;
49 for (
size_t i = 0; i < childShapes.
size(); ++i)
51 agx::Physics::Geometry::ShapeInstance childShape = childShapes[i];
58 #if SHAPE_COLLIDER_VELOCITIES
59 agx::Vec3 childLinearVelocity = (angularVelocity1 ^ localTransform.getTranslate()) + linearVelocity1;
67 collider->calculateContacts(
69 childShape.transform(), transform2,
70 childLinearVelocity, linearVelocity2,
71 angularVelocity1, angularVelocity2,