BulletWorld¶
-
class BulletWorld¶
Bases:
TypedReferenceCountInheritance diagram
digraph inheritance33dd99642a { bgcolor=transparent; rankdir=BT; size="8.0, 12.0"; "BulletWorld" [URL="acron.bullet.BulletWorld.html#acron.bullet.BulletWorld",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "TypedReferenceCount" -> "BulletWorld" [arrowsize=0.75,style=""]; "DTOOL_SUPER_BASE" [fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style=""]; "ReferenceCount" [URL="acron.core.ReferenceCount.html#acron.core.ReferenceCount",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" -> "ReferenceCount" [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=""]; "TypedReferenceCount" [URL="acron.core.TypedReferenceCount.html#acron.core.TypedReferenceCount",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "TypedObject" -> "TypedReferenceCount" [arrowsize=0.75,style=""]; "ReferenceCount" -> "TypedReferenceCount" [arrowsize=0.75,style=""]; }-
enum BroadphaseAlgorithm¶
Configuration
-
enumerator BA_sweep_and_prune = 0¶
-
enumerator BA_dynamic_aabb_tree = 1¶
-
enumerator BA_sweep_and_prune = 0¶
-
enum FilterAlgorithm¶
-
enumerator FA_mask = 0¶
-
enumerator FA_groups_mask = 1¶
-
enumerator FA_callback = 2¶
-
enumerator FA_mask = 0¶
- BulletWorld.__init__()¶
- BulletWorld.attach()¶
AttachRemove
- BulletWorld.attach_character()¶
Deprecated: Please use
BulletWorld::attach()
- BulletWorld.attach_constraint()¶
Attaches a single constraint to a world. Collision checks between the linked objects will be disabled if the second parameter is set to TRUE.
- BulletWorld.attach_ghost()¶
Deprecated methods, will be removed soon
Deprecated: Please use
BulletWorld::attach()
- BulletWorld.attach_rigid_body()¶
Deprecated: Please use
BulletWorld::attach()
- BulletWorld.attach_soft_body()¶
Deprecated: Please use
BulletWorld::attach()
- BulletWorld.attach_vehicle()¶
Deprecated: Please use
BulletWorld::attach()
- BulletWorld.clear_contact_added_callback()¶
- BulletWorld.clear_debug_node()¶
Removes a debug node that has been assigned to this
BulletWorld.
- BulletWorld.clear_filter_callback()¶
- BulletWorld.clear_tick_callback()¶
- BulletWorld.contact_test()¶
Performas a test for all bodies which are currently in contact with the given body. The test returns a
BulletContactResultobject which may contain zero, one or more contacts.If the optional parameter use_filter is set to TRUE this test will consider filter settings. Otherwise all objects in contact are reported, no matter if they would collide or not.
- BulletWorld.contact_test_pair()¶
Performas a test if the two bodies given as parameters are in contact or not. The test returns a
BulletContactResultobject which may contain zero or one contacts.
- BulletWorld.do_physics()¶
- BulletWorld.filter_test()¶
Performs a test if two bodies should collide or not, based on the collision filter setting.
- BulletWorld.get_character()¶
- static BulletWorld.get_class_type()¶
- BulletWorld.get_constraint()¶
- BulletWorld.get_debug_node()¶
- BulletWorld.get_force_update_all_aabbs()¶
- BulletWorld.get_ghost()¶
- BulletWorld.get_gravity()¶
- BulletWorld.get_group_collision_flag()¶
- BulletWorld.get_manifold()¶
- BulletWorld.get_num_characters()¶
Character controller
Character controller
Character controller
- BulletWorld.get_num_constraints()¶
Constraint
Constraint
Constraint
- BulletWorld.get_num_ghosts()¶
Ghost object
Ghost object
Ghost object
- BulletWorld.get_num_manifolds()¶
Manifolds
Manifolds
Manifolds
- BulletWorld.get_num_rigid_bodies()¶
Rigid body
Rigid body
Rigid body
- BulletWorld.get_num_soft_bodies()¶
Soft body
Soft body
Soft body
- BulletWorld.get_num_vehicles()¶
- BulletWorld.get_rigid_body()¶
- BulletWorld.get_soft_body()¶
- BulletWorld.get_vehicle()¶
- BulletWorld.get_world_info()¶
- BulletWorld.has_debug_node()¶
- BulletWorld.ray_test_all()¶
- BulletWorld.ray_test_closest()¶
Raycast and other queries
- BulletWorld.remove()¶
- BulletWorld.remove_character()¶
Deprecated: Please use
BulletWorld::remove()
- BulletWorld.remove_constraint()¶
Deprecated: Please use
BulletWorld::remove()
- BulletWorld.remove_ghost()¶
Deprecated: Please use
BulletWorld::remove()
- BulletWorld.remove_rigid_body()¶
Deprecated: Please use
BulletWorld::remove()
- BulletWorld.remove_soft_body()¶
Deprecated: Please use
BulletWorld::remove()
- BulletWorld.remove_vehicle()¶
Deprecated: Please use
BulletWorld::remove()
- BulletWorld.set_contact_added_callback()¶
Callbacks
- BulletWorld.set_debug_node()¶
Debug
Debug
- BulletWorld.set_filter_callback()¶
- BulletWorld.set_force_update_all_aabbs()¶
- BulletWorld.set_gravity()¶
- BulletWorld.set_group_collision_flag()¶
Collision filtering
- BulletWorld.set_tick_callback()¶
- BulletWorld.sweep_test_closest()¶
Performs a sweep test against all other shapes that match the given group mask. The provided shape must be a convex shape; it is an error to invoke this method using a non-convex shape.
-
enum BroadphaseAlgorithm¶