TetraTetraCollisionDetector class
Class for checking collisions between 2 tetras, a shape that is made with 4 vertices and 4 faces arranged in triangles. With this algorigthm, soft body physics are possible and easier to implement.
- Inheritance
-
- Object
- CollisionDetector
- TetraTetraCollisionDetector
Constructors
Properties
Methods
-
detectCollision(
Shape shape1, Shape shape2, ContactManifold manifold) → void -
Detect collision of the shapes provided
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
pt(
dynamic x, dynamic y) → Vector3 - point from x and y
-
toString(
) → String -
A string representation of this object.
inherited
-
tricheck(
Vector3 p, Vector3 p0, Vector3 p1, Vector3 p2) → bool - Check the triangle for intersections
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited