Panda3D
Functions | Variables
config_collide.cxx File Reference

PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University. More...

#include "config_collide.h"
#include "collisionBox.h"
#include "collisionCapsule.h"
#include "collisionEntry.h"
#include "collisionHandler.h"
#include "collisionHandlerEvent.h"
#include "collisionHandlerHighestEvent.h"
#include "collisionHandlerFloor.h"
#include "collisionHandlerGravity.h"
#include "collisionHandlerPhysical.h"
#include "collisionHandlerPusher.h"
#include "collisionHandlerFluidPusher.h"
#include "collisionHandlerQueue.h"
#include "collisionInvSphere.h"
#include "collisionLine.h"
#include "collisionLevelStateBase.h"
#include "collisionGeom.h"
#include "collisionNode.h"
#include "collisionParabola.h"
#include "collisionPlane.h"
#include "collisionPolygon.h"
#include "collisionFloorMesh.h"
#include "collisionRay.h"
#include "collisionRecorder.h"
#include "collisionSegment.h"
#include "collisionSolid.h"
#include "collisionSphere.h"
#include "collisionTraverser.h"
#include "collisionVisualizer.h"
#include "dconfig.h"

Go to the source code of this file.

Functions

 Configure (config_collide)
 
 ConfigureFn (config_collide)
 
void init_libcollide ()
 Initializes the library. More...
 
 NotifyCategoryDef (collide, "")
 

Variables

ConfigVariableBool allow_collider_multiple ("allow-collider-multiple", false, PRC_DESC("Set this true to enable the use of a DoubleBitMask or QuadBitMask " "to manage many " "colliders added to a single traverser in one pass. If this is " "false, a one-word BitMask is always used instead, which is faster " "per pass, but may require more passes."))
 
ConfigVariableInt collision_parabola_bounds_sample ("collision-parabola-bounds-sample", 10, PRC_DESC("This is the number of points along a CollisionParabola to " "sample in order to determine an accurate bounding box."))
 
ConfigVariableDouble collision_parabola_bounds_threshold ("collision-parabola-bounds-threshold", 10.0, PRC_DESC("This is the threshold size for a CollisionParabola to " "make a bounding box (BoundingHexahedron). If the parabola " "is smaller than this, it will make a BoundingSphere instead, " "which is much easier to make and will be good enough for " "small parabolas."))
 
ConfigVariableBool flatten_collision_nodes ("flatten-collision-nodes", false, PRC_DESC("Set this true to allow NodePath::flatten_medium() and " "flatten_strong() to combine multiple CollisionNodes " "into a single CollisionNode--but only if they share the " "same name and collide masks. When false, CollisionNodes " "are never combined. This is false by default, since " "collision tests rely heavily on bounding volume tests " "to be efficient, and combining CollisionNodes is likely " "to merge bounding volumes inappropriately."))
 
ConfigVariableInt fluid_cap_amount ("fluid-cap-amount", 100, PRC_DESC("ensures that fluid pos doesn't check beyond X feet"))
 
ConfigVariableBool pushers_horizontal ("pushers-horizontal", false, PRC_DESC("Set this true to make all CollisionHandlerPushers have the " "set_horizontal() flag by default, false to let the move " "in three dimensions by default."))
 
ConfigVariableBool respect_effective_normal ("respect-effective-normal", true, PRC_DESC("This should be true to support the effective_normal interface of " "polygons. Set it false to disable this feature, so that all " "collision solids (including polygons and planes) use their actual " "normal for intersection and physics tests."))
 
ConfigVariableBool respect_prev_transform ("respect-prev-transform", false, PRC_DESC("Set this true to have all CollisionTraversers in the world respect " "the previous frame's transform (position) for a given object when " "determining motion for collision tests. If this is false, you must " "explicitly enable motion detection for a particular traverser. It " "is false by default to force programmers to decide on a " "case-by-case basis whether they really need this feature."))
 

Detailed Description

PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.

All rights reserved.

All use of this software is subject to the terms of the revised BSD license. You should have received a copy of this license along with this source code in a file named "LICENSE."

Author
drose
Date
2000-04-24

Definition in file config_collide.cxx.

Function Documentation

◆ init_libcollide()

void init_libcollide ( )