BulletSliderConstraint

from panda3d.bullet import BulletSliderConstraint
class BulletSliderConstraint

Bases:

Bases: BulletConstraint

Inheritance diagram

Inheritance diagram of BulletSliderConstraint

__init__(node_a: BulletRigidBodyNode, node_b: BulletRigidBodyNode, frame_a: panda3d.core.TransformState, frame_b: panda3d.core.TransformState, use_frame_a: bool)
__init__(node_a: BulletRigidBodyNode, frame_a: panda3d.core.TransformState, useFrame_a: bool)
property angular_pos float
property frame_a ConstPointerTo_TransformState
property frame_b ConstPointerTo_TransformState
get_angular_pos() float
static get_class_type() panda3d.core.TypeHandle
get_frame_a() panda3d.core.TransformState
get_frame_b() panda3d.core.TransformState
get_linear_pos() float
get_lower_angular_limit() float
get_lower_linear_limit() float

Limits

get_max_angular_motor_force() float
get_max_linear_motor_force() float
get_powered_angular_motor() bool
get_powered_linear_motor() bool
get_target_angular_motor_velocity() float
get_target_linear_motor_velocity() float
get_upper_angular_limit() float
get_upper_linear_limit() float
property linear_pos float
property lower_angular_limit float
property lower_linear_limit float

Limits

Getter

Limits

Limits

Setter

property max_angular_motor_force float
property max_linear_motor_force float
property powered_angular_motor bool

Getter Setter

Angular motor

Angular motor

property powered_linear_motor bool

Getter Setter

Linear motor

Linear motor

set_frames(ts_a: panda3d.core.TransformState, ts_b: panda3d.core.TransformState)

Frames

set_lower_angular_limit(value: float)
set_lower_linear_limit(value: float)
set_max_angular_motor_force(max_force: float)
set_max_linear_motor_force(max_force: float)
set_powered_angular_motor(on: bool)

Angular motor

set_powered_linear_motor(on: bool)

Linear motor

set_target_angular_motor_velocity(target_velocity: float)
set_target_linear_motor_velocity(target_velocity: float)
set_upper_angular_limit(value: float)
set_upper_linear_limit(value: float)
property target_angular_motor_velocity float
property target_linear_motor_velocity float
property upper_angular_limit float
property upper_linear_limit float