BulletRigidBodyNode

class BulletRigidBodyNode

Bases: BulletBodyNode

Inheritance diagram

digraph inheritance608706c15f { 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=""]; "BulletRigidBodyNode" [URL="acron.bullet.BulletRigidBodyNode.html#acron.bullet.BulletRigidBodyNode",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "BulletBodyNode" -> "BulletRigidBodyNode" [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=""]; }
BulletRigidBodyNode.__init__()

Do not call the copy constructor directly; instead, use make_copy() or copy_subgraph() to make a copy of a node.

BulletRigidBodyNode.apply_central_force()
BulletRigidBodyNode.apply_central_impulse()
BulletRigidBodyNode.apply_force()
BulletRigidBodyNode.apply_impulse()
BulletRigidBodyNode.apply_torque()
BulletRigidBodyNode.apply_torque_impulse()
BulletRigidBodyNode.clear_forces()

Forces

BulletRigidBodyNode.get_angular_damping()
BulletRigidBodyNode.get_angular_factor()
BulletRigidBodyNode.get_angular_sleep_threshold()
BulletRigidBodyNode.get_angular_velocity()
static BulletRigidBodyNode.get_class_type()
BulletRigidBodyNode.get_gravity()
BulletRigidBodyNode.get_inertia()

Returns the inertia of the rigid body. Inertia is given as a three component vector. A component value of zero means infinite inertia along this direction.

BulletRigidBodyNode.get_inv_inertia_diag_local()
BulletRigidBodyNode.get_inv_inertia_tensor_world()
BulletRigidBodyNode.get_inv_mass()

Returns the inverse mass of a rigid body.

BulletRigidBodyNode.get_linear_damping()

Damping

Damping

BulletRigidBodyNode.get_linear_factor()

Restrict movement

Restrict movement

BulletRigidBodyNode.get_linear_sleep_threshold()

Deactivation thresholds

Deactivation thresholds

BulletRigidBodyNode.get_linear_velocity()

Velocity

Velocity

BulletRigidBodyNode.get_mass()

Returns the total mass of a rigid body. A value of zero means that the body is staic, i.e. has an infinite mass.

BulletRigidBodyNode.get_total_force()
BulletRigidBodyNode.get_total_torque()
BulletRigidBodyNode.pick_dirty_flag()

Special

Returns TRUE if the transform of the rigid body has changed at least once since the last call to this method.

BulletRigidBodyNode.set_angular_damping()
BulletRigidBodyNode.set_angular_factor()
BulletRigidBodyNode.set_angular_sleep_threshold()
BulletRigidBodyNode.set_angular_velocity()
BulletRigidBodyNode.set_gravity()

Gravity

Gravity

BulletRigidBodyNode.set_inertia()

Sets the inertia of a rigid body. Inertia is given as a three-component vector. A component value of zero means infinite inertia along this direction. Setting the intertia will override the value which is automatically calculated from the rigid bodies shape. However, it is possible that automatic calculation of intertia is trigger after calling this method, and thus overwriting the explicitly set value again. This happens when: (a) the mass is set after the inertia. (b) a shape is added or removed from the body. (c) the scale of the body changed.

BulletRigidBodyNode.set_linear_damping()
BulletRigidBodyNode.set_linear_factor()
BulletRigidBodyNode.set_linear_sleep_threshold()
BulletRigidBodyNode.set_linear_velocity()
BulletRigidBodyNode.set_mass()

Mass & inertia

Mass & inertia

Sets the mass of a rigid body. This also modifies the inertia, which is automatically computed from the shape of the body. Setting a value of zero for mass will make the body static. A value of zero can be considered an infinite mass.