View source
class ConvexGeometry
package oimo.collision.geometry
extends Geometry
extended by BoxGeometry, CapsuleGeometry, ConeGeometry, ConvexHullGeometry, CylinderGeometry, SphereGeometry
Abstract class of the convex collision geometries supported by GJK/EPA collision detection.
Methods
computeLocalSupportingVertex(dir:Vec3, out:Vec3):Void
Computes supporting vertex of the "core" of the geometry in local coordinates.
Note that the direction vector dir
might not be normalized. out
is set to
the computed supporting vertex.