Changes

Jump to: navigation, search

GAM666/DPS901 Student Resources

15 bytes added, 17:49, 30 November 2011
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>

Navigation menu