public abstract class CollisionHandler extends ConstrainerBase implements HasRenderProps, GLRenderable
HasAuxState.StateContext
ModelComponent.NavpanelVisibility
Modifier and Type | Field and Description |
---|---|
static boolean |
computeTimings |
static boolean |
doBodyFaceContact |
static PropertyList |
myProps |
boolean |
reduceConstraints |
static boolean |
useSignedDistanceCollider |
enforceUniqueCompositeNames, enforceUniqueNames, myNumber, NULL_OBJ, useCompactPathNames
TRANSLUCENT, TWO_DIMENSIONAL
Constructor and Description |
---|
CollisionHandler() |
Modifier and Type | Method and Description |
---|---|
abstract void |
autoComputeCompliance(double collisionAccel,
double penTol) |
PropertyList |
getAllPropertyInfo()
Returns a list giving static information about all properties exported by
this object.
|
abstract Collidable |
getCollidable(int idx) |
abstract Collidable |
getCollidable0() |
abstract Collidable |
getCollidable1() |
abstract double |
getCompliance() |
abstract double |
getDamping() |
abstract double |
getFriction() |
abstract double |
getPenetrationTol() |
abstract double |
getRigidPointTolerance() |
abstract double |
getRigidRegionTolerance() |
abstract boolean |
hasActiveContacts()
Checks if this collision handler has any active contact constraints
|
abstract boolean |
isDrawIntersectionContours() |
abstract boolean |
isDrawIntersectionFaces() |
abstract boolean |
isDrawIntersectionPoints() |
boolean |
isReduceConstraints() |
abstract void |
render(GLRenderer renderer,
RenderProps props,
int flags) |
abstract void |
setCompliance(double c) |
abstract void |
setDamping(double d) |
abstract void |
setDrawIntersectionContours(boolean set) |
abstract void |
setDrawIntersectionFaces(boolean set) |
abstract void |
setDrawIntersectionPoints(boolean set) |
abstract void |
setFriction(double mu) |
abstract void |
setPenetrationTol(double tol) |
void |
setReduceConstraints(boolean set) |
abstract void |
setRigidPointTolerance(double tol) |
abstract void |
setRigidRegionTolerance(double tol) |
addBilateralConstraints, addFrictionConstraints, addUnilateralConstraints, advanceAuxState, getAuxState, getBilateralImpulses, getBilateralInfo, getBilateralSizes, getInitialAuxState, getUnilateralImpulses, getUnilateralInfo, getUnilateralSizes, hasState, maxFrictionConstraintSets, setAuxState, setBilateralImpulses, setUnilateralImpulses, skipAuxState, updateConstraints, zeroImpulses
copy, createRenderProps, getRenderHints, getRenderProps, getSelection, isSelectable, numSelectionQueriesNeeded, prerender, render, setRenderProps, updateBounds, updateRenderProps
checkFlag, checkName, checkNameUniqueness, clearFlag, clone, connectToHierarchy, createTempFlag, disconnectFromHierarchy, getChildren, getGrandParent, getHardReferences, getName, getNameRange, getNavpanelVisibility, getNavpanelVisibility, getNumber, getParent, getProperty, getSoftReferences, hasChildren, isFixed, isMarked, isSelected, isWritable, makeValidName, makeValidName, notifyParentOfChange, postscan, printReferences, recursivelyContained, recursivelyContains, removeTempFlag, scan, setFixed, setFlag, setMarked, setName, setNavpanelVisibility, setNavpanelVisibility, setNumber, setParent, setSelected, updateReferences, write
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createRenderProps, getRenderProps, setRenderProps
getRenderHints, prerender, render, updateBounds
connectToHierarchy, disconnectFromHierarchy, getHardReferences, getName, getNavpanelVisibility, getNumber, getParent, getSoftReferences, isFixed, isMarked, isSelected, notifyParentOfChange, postscan, scan, setFixed, setMarked, setName, setNumber, setParent, setSelected, updateReferences
getProperty
getChildren, hasChildren
isWritable, write
public static boolean useSignedDistanceCollider
public static boolean doBodyFaceContact
public static boolean computeTimings
public boolean reduceConstraints
public static PropertyList myProps
public PropertyList getAllPropertyInfo()
HasProperties
getAllPropertyInfo
in interface HasProperties
getAllPropertyInfo
in class ModelComponentBase
public abstract Collidable getCollidable(int idx)
public abstract Collidable getCollidable0()
public abstract Collidable getCollidable1()
public abstract double getCompliance()
public abstract void setCompliance(double c)
public abstract void setDamping(double d)
public abstract double getDamping()
public abstract double getPenetrationTol()
public abstract void setPenetrationTol(double tol)
public abstract double getRigidPointTolerance()
public abstract void setRigidPointTolerance(double tol)
public abstract double getRigidRegionTolerance()
public abstract void setRigidRegionTolerance(double tol)
public abstract void setFriction(double mu)
public abstract double getFriction()
public abstract void autoComputeCompliance(double collisionAccel, double penTol)
public abstract void render(GLRenderer renderer, RenderProps props, int flags)
public abstract boolean hasActiveContacts()
public abstract void setDrawIntersectionContours(boolean set)
public abstract boolean isDrawIntersectionContours()
public abstract void setDrawIntersectionFaces(boolean set)
public abstract boolean isDrawIntersectionFaces()
public abstract void setDrawIntersectionPoints(boolean set)
public abstract boolean isDrawIntersectionPoints()
public boolean isReduceConstraints()
public void setReduceConstraints(boolean set)