Trees | Indices | Help |
|
---|
|
object --+ | ??.instance --+ | vrAEBase.vrAEBase --+ | vrCollision
Collision detection.
Example:
See also example collision.py
Instance Methods | |||
|
|||
tuple of vrNodePtr |
|
||
tuple of int |
|
||
tuple of Pnt3f |
|
||
tuple of Pnt3f, vrNodePtr, Vec3f, vrNodePtr, Vec3f |
|
||
Pnt3f |
|
||
bool |
|
||
Inherited from Inherited from |
Class Variables | |
__instance_size__ = 184
|
Method Details |
The constructor of the vrCollision class.
|
Retrieve the pair of nodes that collided. Only valid after a call to isColliding() that returned true.
|
Retrieve the pair of triangle indices that collided. Only valid after a call to isColliding() that returned true.
|
Retrieve the pair of triangle vertices that collided. Only valid after a call to isColliding() that returned true.
|
Retrieves information about the collision. Only valid after a call to isColliding() that returned true. The function returns the collision position, the node and the normal of the first object involved in the collision and the node and the normal of the second object involved in the collision.
|
Retrieves the detected collision point. Only valid after a call to isColliding() that returned true.
|
Checks if objects from the two lists are colliding.
|
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Fri Nov 29 09:33:22 2024 | http://epydoc.sourceforge.net |