BulletBodyNode¶
-
class BulletBodyNode¶
Bases:
AcronNodeInheritance diagram
digraph inheritancee397bce7f8 { bgcolor=transparent; rankdir=BT; size="8.0, 12.0"; "AcronNode" [URL="acron.core.AcronNode.html#acron.core.AcronNode",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "TypedWritableReferenceCount" -> "AcronNode" [arrowsize=0.75,style=""]; "Namable" -> "AcronNode" [arrowsize=0.75,style=""]; "BulletBodyNode" [URL="acron.bullet.BulletBodyNode.html#acron.bullet.BulletBodyNode",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "AcronNode" -> "BulletBodyNode" [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=""]; "Namable" [URL="acron.core.Namable.html#acron.core.Namable",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" -> "Namable" [arrowsize=0.75,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=""]; "TypedWritable" [URL="acron.core.TypedWritable.html#acron.core.TypedWritable",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "TypedObject" -> "TypedWritable" [arrowsize=0.75,style=""]; "TypedWritableReferenceCount" [URL="acron.core.TypedWritableReferenceCount.html#acron.core.TypedWritableReferenceCount",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "TypedWritable" -> "TypedWritableReferenceCount" [arrowsize=0.75,style=""]; "ReferenceCount" -> "TypedWritableReferenceCount" [arrowsize=0.75,style=""]; }- BulletBodyNode.add_shape()¶
Shapes
- BulletBodyNode.add_shapes_from_collision_solids()¶
Add shapes from the specified collision node to this body.
Add shapes from the specified collision node to this body. Also apply the given transform state to all solids. This is useful for example when the collision node is rotated, is not centered to origin, or has several parent transforms applied on it.
- BulletBodyNode.check_collision_with()¶
- BulletBodyNode.force_active()¶
- BulletBodyNode.get_anisotropic_friction()¶
- BulletBodyNode.get_ccd_motion_threshold()¶
- BulletBodyNode.get_ccd_swept_sphere_radius()¶
CCD
CCD
- static BulletBodyNode.get_class_type()¶
- BulletBodyNode.get_collision_response()¶
- BulletBodyNode.get_contact_processing_threshold()¶
- BulletBodyNode.get_deactivation_time()¶
- BulletBodyNode.get_friction()¶
- BulletBodyNode.get_num_shapes()¶
- BulletBodyNode.get_restitution()¶
Friction and Restitution
Friction and Restitution
- BulletBodyNode.get_shape()¶
- BulletBodyNode.get_shape_bounds()¶
Returns the current bounds of all collision shapes owned by this body.
- BulletBodyNode.get_shape_mat()¶
- BulletBodyNode.get_shape_pos()¶
- BulletBodyNode.get_shape_transform()¶
- BulletBodyNode.has_anisotropic_friction()¶
- BulletBodyNode.has_contact_response()¶
- BulletBodyNode.is_active()¶
Deactivation
Deactivation
- BulletBodyNode.is_deactivation_enabled()¶
- BulletBodyNode.is_debug_enabled()¶
Returns TRUE if the debug visualisation is enabled for this collision object, and FALSE if the debug visualisation is disabled.
- BulletBodyNode.is_kinematic()¶
- BulletBodyNode.is_static()¶
Static and kinematic
Static and kinematic
- BulletBodyNode.notifies_collisions()¶
- BulletBodyNode.notify_collisions()¶
- BulletBodyNode.remove_shape()¶
- BulletBodyNode.set_active()¶
- BulletBodyNode.set_anisotropic_friction()¶
- BulletBodyNode.set_ccd_motion_threshold()¶
- BulletBodyNode.set_ccd_swept_sphere_radius()¶
- BulletBodyNode.set_collision_response()¶
- BulletBodyNode.set_contact_processing_threshold()¶
The constraint solver can discard solving contacts, if the distance is above this threshold.
- BulletBodyNode.set_deactivation_enabled()¶
If true, this object will be deactivated after a certain amount of time has passed without movement. If false, the object will always remain active.
- BulletBodyNode.set_deactivation_time()¶
- BulletBodyNode.set_debug_enabled()¶
Debug Visualisation
Debug Visualisation
Enables or disables the debug visualisation for this collision object. By default the debug visualisation is enabled.
- BulletBodyNode.set_friction()¶
- BulletBodyNode.set_into_collide_mask()¶
Contacts
- BulletBodyNode.set_kinematic()¶
- BulletBodyNode.set_restitution()¶
- BulletBodyNode.set_static()¶