panda3d.bullet.BulletSliderConstraint

class BulletSliderConstraint

Bases: BulletConstraint

Inheritance diagram

Inheritance diagram of BulletSliderConstraint

__init__(node_a: BulletRigidBodyNode, node_b: BulletRigidBodyNode, frame_a: TransformState, frame_b: TransformState, use_frame_a: bool) → None
__init__(node_a: BulletRigidBodyNode, frame_a: TransformState, useFrame_a: bool) → None
property angular_pos
Return type

float

property frame_a
Return type

ConstPointerTo_TransformState

property frame_b
Return type

ConstPointerTo_TransformState

getAngularPos() → float
static getClassType() → TypeHandle
Return type

TypeHandle

getFrameA() → TransformState
Return type

TransformState

getFrameB() → TransformState
Return type

TransformState

getLinearPos() → float
getLowerAngularLimit() → float
getLowerLinearLimit() → float

Limits

getMaxAngularMotorForce() → float
getMaxLinearMotorForce() → float
getPoweredAngularMotor() → bool
getPoweredLinearMotor() → bool
getTargetAngularMotorVelocity() → float
getTargetLinearMotorVelocity() → float
getUpperAngularLimit() → float
getUpperLinearLimit() → float
property linear_pos
Return type

float

property lower_angular_limit

Getter Setter

Return type

float

property lower_linear_limit

Limits

Getter

Limits

Limits

Setter

Return type

float

property max_angular_motor_force

Getter Setter

Return type

float

property max_linear_motor_force

Getter Setter

Return type

float

property powered_angular_motor

Getter Setter

Angular motor

Angular motor

Return type

bool

property powered_linear_motor

Getter Setter

Linear motor

Linear motor

Return type

bool

setFrames(ts_a: TransformState, ts_b: TransformState) → None

Frames

setLowerAngularLimit(value: float) → None
setLowerLinearLimit(value: float) → None
setMaxAngularMotorForce(max_force: float) → None
setMaxLinearMotorForce(max_force: float) → None
setPoweredAngularMotor(on: bool) → None

Angular motor

setPoweredLinearMotor(on: bool) → None

Linear motor

setTargetAngularMotorVelocity(target_velocity: float) → None
setTargetLinearMotorVelocity(target_velocity: float) → None
setUpperAngularLimit(value: float) → None
setUpperLinearLimit(value: float) → None
property target_angular_motor_velocity

Getter Setter

Return type

float

property target_linear_motor_velocity

Getter Setter

Return type

float

property upper_angular_limit

Getter Setter

Return type

float

property upper_linear_limit

Getter Setter

Return type

float