OdeGeom

class OdeGeom

Bases: TypedObject

Inheritance diagram

digraph inheritanceda651bc9d7 { 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=""]; "OdeGeom" [URL="acron.ode.OdeGeom.html#acron.ode.OdeGeom",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "TypedObject" -> "OdeGeom" [arrowsize=0.75,style=""]; "TypedObject" [URL="acron.core.TypedObject.html#acron.core.TypedObject",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" -> "TypedObject" [arrowsize=0.75,style=""]; }
enum GeomClass
enumerator GC_sphere = 0
enumerator GC_box = 1
enumerator GC_capped_cylinder = 2
enumerator GC_cylinder = 3
enumerator GC_plane = 4
enumerator GC_ray = 5
enumerator GC_tri_mesh = 8

GC_convex, GC_geom_transform,

enumerator GC_simple_space = 10
enumerator GC_hash_space = 11
enumerator GC_quad_tree_space = 12
OdeGeom.clear_offset()
OdeGeom.compare_to()
OdeGeom.convert()
OdeGeom.convert_to_box()
OdeGeom.convert_to_capped_cylinder()
OdeGeom.convert_to_cylinder()

OdeConvexGeom convert_to_convex() const;

OdeGeom.convert_to_hash_space()
OdeGeom.convert_to_plane()

OdeHeightfieldGeom convert_to_heightfield() const;

OdeGeom.convert_to_quad_tree_space()
OdeGeom.convert_to_ray()
OdeGeom.convert_to_simple_space()
OdeGeom.convert_to_sphere()
OdeGeom.convert_to_tri_mesh()
OdeGeom.destroy()
OdeGeom.disable()
OdeGeom.enable()
OdeGeom.get_AABB()
OdeGeom.get_AA_bounds()
OdeGeom.get_body()
OdeGeom.get_category_bits()
OdeGeom.get_class()
static OdeGeom.get_class_type()
OdeGeom.get_collide_bits()
OdeGeom.get_converted_space()
OdeGeom.get_id()

Returns the underlying dGeomID.

OdeGeom.get_offset_position()
OdeGeom.get_offset_quaternion()
OdeGeom.get_offset_rotation()
OdeGeom.get_position()
OdeGeom.get_quaternion()
OdeGeom.get_rotation()
OdeGeom.get_space()
OdeGeom.has_body()
OdeGeom.is_empty()

Returns true if the ID is 0, meaning the OdeGeom does not point to a valid geom. It is an error to call a method on an empty geom. Note that an empty OdeGeom also evaluates to False.

OdeGeom.is_enabled()
OdeGeom.is_offset()
OdeGeom.is_space()
OdeGeom.set_body()

INLINE void set_data(void* data);

OdeGeom.set_category_bits()
OdeGeom.set_collide_bits()
OdeGeom.set_offset_position()
OdeGeom.set_offset_quaternion()
OdeGeom.set_offset_rotation()
OdeGeom.set_offset_world_position()
OdeGeom.set_offset_world_quaternion()
OdeGeom.set_offset_world_rotation()
OdeGeom.set_position()
OdeGeom.set_quaternion()
OdeGeom.set_rotation()
OdeGeom.write()