RayCollisionDetector class

Class for collision detection based on ray casting. Ray source from THREE. This class should only be used with the tetra or a polygon.

Inheritance

Constructors

RayCollisionDetector.new()

Properties

flip bool
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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
toString() String
A string representation of this object.
inherited
triangleIntersect(Vector3 origin, Vector3 direction, Face face, bool backfaceCulling) → Vector3?
Find where triangle intersect

Operators

operator ==(Object other) bool
The equality operator.
inherited