Quantum 3 3.0.14

Public Attributes | Properties | List of all members
Quantum.CollisionInfo3D.TriangleCollisionInfo Struct Reference

Info about the collision with a specific triangle of a mesh. More...

Public Attributes

ContactPointIterator3D ContactPoints
 Data about the contact points of the triangle collision. More...
 

Properties

FPVector3 ContactNormal [get, set]
 The contact normal, from the Entity perspective. More...
 
Boolean IgnoreCollision [get, set]
 If this triangle collision should be ignored by the physics engine. More...
 
readonly Boolean IsSpeculativeCcdCollision [get]
 
readonly FP Penetration [get]
 The collision penetration in the ContactNormal direction. More...
 
readonly TriangleCCW * Triangle [get]
 The triangle of the mesh that the entity is colliding with. More...
 

Detailed Description

Info about the collision with a specific triangle of a mesh.

Member Data Documentation

◆ ContactPoints

ContactPointIterator3D Quantum.CollisionInfo3D.TriangleCollisionInfo.ContactPoints

Data about the contact points of the triangle collision.

Property Documentation

◆ IgnoreCollision

Boolean Quantum.CollisionInfo3D.TriangleCollisionInfo.IgnoreCollision
getset

If this triangle collision should be ignored by the physics engine.

◆ Triangle

readonly TriangleCCW* Quantum.CollisionInfo3D.TriangleCollisionInfo.Triangle
get

The triangle of the mesh that the entity is colliding with.

This is not a copy but a pointer to the actual triangle data in the scene mesh, do NOT change it.

◆ ContactNormal

FPVector3 Quantum.CollisionInfo3D.TriangleCollisionInfo.ContactNormal
getset

The contact normal, from the Entity perspective.

◆ Penetration

readonly FP Quantum.CollisionInfo3D.TriangleCollisionInfo.Penetration
get

The collision penetration in the ContactNormal direction.