struct
Eagle::Physics3D::Manifold
- Eagle::Physics3D::Manifold
- Struct
- Value
- Object
Overview
The result of a collision test: separation normal, depth and contact points.
Defined in:
eagle/physics/physics3d.crConstructors
-
.new(normal : Eagle::Vec3, penetration : Float32, contacts : Array(Eagle::Vec3))
Creates a manifold.
Instance Method Summary
-
#contacts : Array(Vec3)
Contact points in world space.
-
#normal : Vec3
Unit normal pointing from A to B.
-
#penetration : Float32
Overlap depth.
Constructor Detail
Creates a manifold.