154
edits
Changes
→Collision Code Snippets
==Collision Code Snippets ==
Two teams have asked me to upgrade the framework to handle collisions. You can complete the upgrade by adding the follow snippets:
<pre>
// add this code to Design::initialize() - use proper values for min max points
jumper->setAxisAligned(Vector(-10, -10, -10), Vector(10, 10, 10));
pedestal->setAxisAligned(Vector(-10, -10, -10), Vector(10, 10, 10));
}
}
</pre>