from panda3d.core import CollisionFloorMesh
class CollisionFloorMesh


Bases: CollisionSolid

This object represents a solid made entirely of triangles, which will only be tested again z axis aligned rays

Inheritance diagram

Inheritance diagram of CollisionFloorMesh


This is only for the convenience of CollisionPolygon. Normally, you should not attempt to create an uninitialized CollisionPlane.

add_triangle(pointA: int, pointB: int, pointC: int)

store a triangle for processing

add_vertex(vert: LPoint3)

store away a vertex to index against

static get_class_type() TypeHandle
get_num_triangles() int
get_num_vertices() int
get_triangle(index: int) LPoint3i
get_triangles() list
get_vertex(index: int) LPoint3
get_vertices() list
property triangles Sequence[LPoint3i]
property vertices Sequence[LPoint3]