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
getAngularPos() → float
static getClassType() → panda3d.core.TypeHandle
getFrameA() → panda3d.core.TransformState
getFrameB() → panda3d.core.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 → 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

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

Frames

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

Angular motor

setPoweredLinearMotor(on: bool)

Linear motor

setTargetAngularMotorVelocity(target_velocity: float)
setTargetLinearMotorVelocity(target_velocity: float)
setUpperAngularLimit(value: float)
setUpperLinearLimit(value: float)
property target_angular_motor_velocity → float
property target_linear_motor_velocity → float
property upper_angular_limit → float
property upper_linear_limit → float