History: Minimal Ogre Collision
Preview of version: 13
Author: Nauk
Project: External Project
Type: OGRE Library
Supported Platforms: Mac OS X, Linux, Windows
Sources: Google Code
Binaries: MOC Demo
Status and bug reports: OGRE Forum Thread, MOC forum
MOC is a easy to integrate and lightweight collision detection library. It is based on the wiki article http://www.ogre3d.org/tikiwiki/tiki-index.php?page=Raycasting+to+the+polygon+level" class="wiki wikinew text-danger tips">"Raycasting to the polygon level".
Note: For a newer lightweight version, have a look at "New MOC" in the links section below.
Mogre
For Mogre a C# port of MOC is available, called MMOC.
Differences to original:
- Raycast methods return a class with the results (position, entity, distance) instead of a bool
- Changed the MouseEvent param in RaycastFromCamera to Vector2 (mouse position)
Links:
- Repository - the code was added to the official MOC repository
- forum topic
- MOC toolkit - converted to C#
- New MOC - redesigned thinner MOC with better performance
Alias: Minimal_Ogre_Collision