tokamak physics thread 4

Blitz3D Forums/Blitz3D Programming/tokamak physics thread 4

A convex hull can be used instead of the basic primitives.
They included a tool that inputs a list of vertices that you provide and generates a closed convex mesh covering the vertices as tightly as possible.

Lets say you want a boulder falling down from a hill.
You probably would choose the sphereprimitive for this as this is the shape that best fits the boulder.
But in real life a boulder wouldn't roll as smoothly as a perfect sphere(unless the boulder is VERY smooth).
Instead take your bouldermesh, run it through the convexhull generator and use the resulting hull in Tokamak as the collisionvolume for the boulder.