OdeUtil¶
from acron.ode import OdeUtil
- class OdeUtil¶
Bases:
Inheritance diagram
digraph inheritance4e37af8e9f { bgcolor=transparent; rankdir=BT; size="8.0, 12.0"; "DTOOL_SUPER_BASE" [fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style=""]; "OdeUtil" [URL="acron.ode.OdeUtil.html#acron.ode.OdeUtil",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "DTOOL_SUPER_BASE" -> "OdeUtil" [arrowsize=0.75,style=""]; }- __init__()¶
- static are_connected()¶
Returns 1 if the given bodies are connected by a joint, returns 0 otherwise.
- static are_connected_excluding()¶
Returns 1 if the given bodies are connected by a joint that does not match the given joint_type, returns 0 otherwise. This is useful for deciding whether to add contact joints between two bodies: if they are already connected by non-contact joints then it may not be appropriate to add contacts, however it is okay to add more contact between bodies that already have contacts.
- static collide()¶
Given two geometry objects that potentially touch (geom1 and geom2), generate contact information for them. Returns an
OdeCollisionEntry.
- static collide2()¶
- static get_connecting_joint()¶
Returns the joint that connects the given bodies.
- static get_connecting_joint_list()¶
Returns a collection of joints connecting the specified bodies.
- static get_infinity()¶
RAU we can’t access OC_infinity as constants are not exposed in python
- static rand_get_seed()¶
- static rand_set_seed()¶
- static space_to_geom()¶