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
getLinearPos() → float
getAngularPos() → float
getLowerLinearLimit() → float

Limits

getUpperLinearLimit() → float
getLowerAngularLimit() → float
getUpperAngularLimit() → float
setLowerLinearLimit(value: float) → None
setUpperLinearLimit(value: float) → None
setLowerAngularLimit(value: float) → None
setUpperAngularLimit(value: float) → None
setPoweredLinearMotor(on: bool) → None

Linear motor

setTargetLinearMotorVelocity(target_velocity: float) → None
setMaxLinearMotorForce(max_force: float) → None
getPoweredLinearMotor() → bool
getTargetLinearMotorVelocity() → float
getMaxLinearMotorForce() → float
setPoweredAngularMotor(on: bool) → None

Angular motor

setTargetAngularMotorVelocity(target_velocity: float) → None
setMaxAngularMotorForce(max_force: float) → None
getPoweredAngularMotor() → bool
getTargetAngularMotorVelocity() → float
getMaxAngularMotorForce() → float
setFrames(ts_a: TransformState, ts_b: TransformState) → None

Frames

getFrameA() → TransformState
Return type

TransformState

getFrameB() → TransformState
Return type

TransformState

static getClassType() → TypeHandle
Return type

TypeHandle

property linear_pos
Return type

float

property angular_pos
Return type

float

property lower_linear_limit

Limits

Getter

Limits

Limits

Setter

Return type

float

property upper_linear_limit

Getter Setter

Return type

float

property lower_angular_limit

Getter Setter

Return type

float

property upper_angular_limit

Getter Setter

Return type

float

property powered_linear_motor

Getter Setter

Linear motor

Linear motor

Return type

bool

property target_linear_motor_velocity

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 target_angular_motor_velocity

Getter Setter

Return type

float

property max_angular_motor_force

Getter Setter

Return type

float

property frame_a
Return type

ConstPointerTo_TransformState

property frame_b
Return type

ConstPointerTo_TransformState