BulletWheel
from panda3d.bullet import BulletWheel
- class BulletWheel
- Bases: - DTOOL_SUPER_BASE- One wheel of a BulletVehicle. Instances should not be created directly but using the factory method BulletVehicle::create_wheel(). - Inheritance diagram - __init__(*args, **kwargs)
 - brake
 - chassis_connection_point_cs
 - clipped_inv_connection_point_cs
 - delta_rotation
 - engine_force
 - friction_slip
 - front_wheel
 - getBrake()
- C++ Interface: get_brake(BulletWheel self) - /**
- Returns the amount of braking force currently applied. 
 - */ 
 
 - getChassisConnectionPointCs()
- C++ Interface: get_chassis_connection_point_cs(BulletWheel self) - /**
- Returns the point where the wheel is connected to the chassis. 
 - */ 
 
 - getClippedInvConnectionPointCs()
- C++ Interface: get_clipped_inv_connection_point_cs(BulletWheel self) - /**
- */ 
 
 - getEngineForce()
- C++ Interface: get_engine_force(BulletWheel self) - /**
- Returns the amount of accelleration force currently applied. 
 - */ 
 
 - getFrictionSlip()
- C++ Interface: get_friction_slip(BulletWheel self) - /**
- Returns how slippery the tyres are. 
 - */ 
 
 - getMaxSuspensionForce()
- C++ Interface: get_max_suspension_force(BulletWheel self) - /**
- Returns the maximum force (weight) the suspension can handle. 
 - */ 
 
 - getNode()
- C++ Interface: get_node(BulletWheel self) - /**
- Returns the PandaNode which representates the visual appearance of this 
- wheel, if such a representation has been set previously. 
 - */ 
 
 - getRollInfluence()
- C++ Interface: get_roll_influence(BulletWheel self) - /**
- Returns the factor by which roll forces are scaled. See 
- set_roll_influence. 
 - */ 
 
 - getSteering()
- C++ Interface: get_steering(BulletWheel self) - /**
- Returns the steering angle in degrees. 
- @warning 
- As of 1.11, this method uses degrees. Previous versions used radians. 
 - */ 
 
 - getSuspensionRelativeVelocity()
- C++ Interface: get_suspension_relative_velocity(BulletWheel self) - /**
- */ 
 
 - getSuspensionRestLength()
- C++ Interface: get_suspension_rest_length(BulletWheel self) - /**
- Returns the length of the suspension when the vehicle is standing still. 
 - */ 
 
 - getSuspensionStiffness()
- C++ Interface: get_suspension_stiffness(BulletWheel self) - /**
- Returns the stiffness of the suspension. 
 - */ 
 
 - getWheelAxleCs()
- C++ Interface: get_wheel_axle_cs(BulletWheel self) - /**
- Returns the normal vector of the wheel axle. 
 - */ 
 
 - getWheelDirectionCs()
- C++ Interface: get_wheel_direction_cs(BulletWheel self) - /**
- Returns the wheel’s forward vector relative to the chassis. 
 - */ 
 
 - getWheelRadius()
- C++ Interface: get_wheel_radius(BulletWheel self) - /**
- Returns the wheel radius. 
 - */ 
 
 - getWheelsDampingCompression()
- C++ Interface: get_wheels_damping_compression(BulletWheel self) - /**
- Returns the damping applied to the compressing suspension. 
 - */ 
 
 - getWheelsDampingRelaxation()
- C++ Interface: get_wheels_damping_relaxation(BulletWheel self) - /**
- Returns the damping applied to the relaxing suspension. 
 - */ 
 
 - get_brake()
- C++ Interface: get_brake(BulletWheel self) - /**
- Returns the amount of braking force currently applied. 
 - */ 
 
 - get_chassis_connection_point_cs()
- C++ Interface: get_chassis_connection_point_cs(BulletWheel self) - /**
- Returns the point where the wheel is connected to the chassis. 
 - */ 
 
 - get_clipped_inv_connection_point_cs()
- C++ Interface: get_clipped_inv_connection_point_cs(BulletWheel self) - /**
- */ 
 
 - get_engine_force()
- C++ Interface: get_engine_force(BulletWheel self) - /**
- Returns the amount of accelleration force currently applied. 
 - */ 
 
 - get_friction_slip()
- C++ Interface: get_friction_slip(BulletWheel self) - /**
- Returns how slippery the tyres are. 
 - */ 
 
 - get_max_suspension_force()
- C++ Interface: get_max_suspension_force(BulletWheel self) - /**
- Returns the maximum force (weight) the suspension can handle. 
 - */ 
 
 - get_max_suspension_travel_cm()
- C++ Interface: get_max_suspension_travel_cm(BulletWheel self) - /**
- */ 
 
 - get_node()
- C++ Interface: get_node(BulletWheel self) - /**
- Returns the PandaNode which representates the visual appearance of this 
- wheel, if such a representation has been set previously. 
 - */ 
 
 - get_roll_influence()
- C++ Interface: get_roll_influence(BulletWheel self) - /**
- Returns the factor by which roll forces are scaled. See 
- set_roll_influence. 
 - */ 
 
 - get_steering()
- C++ Interface: get_steering(BulletWheel self) - /**
- Returns the steering angle in degrees. 
- @warning 
- As of 1.11, this method uses degrees. Previous versions used radians. 
 - */ 
 
 - get_suspension_relative_velocity()
- C++ Interface: get_suspension_relative_velocity(BulletWheel self) - /**
- */ 
 
 - get_suspension_rest_length()
- C++ Interface: get_suspension_rest_length(BulletWheel self) - /**
- Returns the length of the suspension when the vehicle is standing still. 
 - */ 
 
 - get_suspension_stiffness()
- C++ Interface: get_suspension_stiffness(BulletWheel self) - /**
- Returns the stiffness of the suspension. 
 - */ 
 
 - get_wheel_axle_cs()
- C++ Interface: get_wheel_axle_cs(BulletWheel self) - /**
- Returns the normal vector of the wheel axle. 
 - */ 
 
 - get_wheel_direction_cs()
- C++ Interface: get_wheel_direction_cs(BulletWheel self) - /**
- Returns the wheel’s forward vector relative to the chassis. 
 - */ 
 
 - get_wheel_radius()
- C++ Interface: get_wheel_radius(BulletWheel self) - /**
- Returns the wheel radius. 
 - */ 
 
 - get_wheels_damping_compression()
- C++ Interface: get_wheels_damping_compression(BulletWheel self) - /**
- Returns the damping applied to the compressing suspension. 
 - */ 
 
 - get_wheels_damping_relaxation()
- C++ Interface: get_wheels_damping_relaxation(BulletWheel self) - /**
- Returns the damping applied to the relaxing suspension. 
 - */ 
 
 - isFrontWheel()
- C++ Interface: is_front_wheel(BulletWheel self) - /**
- Determines if a wheel is steerable. 
 - */ 
 
 - is_front_wheel()
- C++ Interface: is_front_wheel(BulletWheel self) - /**
- Determines if a wheel is steerable. 
 - */ 
 
 - max_suspension_force
 - max_suspension_travel_cm
 - node
 - raycast_info
 - roll_influence
 - rotation
 - setChassisConnectionPointCs()
- C++ Interface: set_chassis_connection_point_cs(const BulletWheel self, const LPoint3f pos) - /**
- Sets the point where the wheel is connected to the chassis. 
 - */ 
 
 - setClippedInvConnectionPointCs()
- C++ Interface: set_clipped_inv_connection_point_cs(const BulletWheel self, float value) - /**
- */ 
 
 - setEngineForce()
- C++ Interface: set_engine_force(const BulletWheel self, float value) - /**
- Defines how much force should be used to rotate the wheel. 
 - */ 
 
 - setFrictionSlip()
- C++ Interface: set_friction_slip(const BulletWheel self, float value) - /**
- Sets the slipperyness of the tyre. 
 - */ 
 
 - setFrontWheel()
- C++ Interface: set_front_wheel(const BulletWheel self, bool value) - /**
- Sets if the wheel is steerable. 
 - */ 
 
 - setMaxSuspensionForce()
- C++ Interface: set_max_suspension_force(const BulletWheel self, float value) - /**
- Sets the maximum suspension force the wheel can handle. 
 - */ 
 
 - setMaxSuspensionTravelCm()
- C++ Interface: set_max_suspension_travel_cm(const BulletWheel self, float value) - /**
- Sets the maximum distance the suspension can travel out of the resting 
- position in centimeters. 
 - */ 
 
 - setNode()
- C++ Interface: set_node(const BulletWheel self, PandaNode node) - /**
- Sets the PandaNode which representates the visual appearance of this wheel. 
 - */ 
 
 - setRollInfluence()
- C++ Interface: set_roll_influence(const BulletWheel self, float value) - /**
- Defines a scaling factor for roll forces that affect the chassis. 0.0 
- means no roll - the chassis won’t ever flip over - while 1.0 means original 
- physical behaviour. Basically, this allows moving the center of mass up 
- and down. 
 - */ 
 
 - setSteering()
- C++ Interface: set_steering(const BulletWheel self, float value) - /**
- Sets the steering angle. 
- @warning 
- As of 1.11, this method uses degrees. Previous versions used radians. 
 - */ 
 
 - setSuspensionRelativeVelocity()
- C++ Interface: set_suspension_relative_velocity(const BulletWheel self, float value) - /**
- */ 
 
 - setSuspensionStiffness()
- C++ Interface: set_suspension_stiffness(const BulletWheel self, float value) - /**
- Sets how stiff the suspension shall be. 
 - */ 
 
 - setWheelAxleCs()
- C++ Interface: set_wheel_axle_cs(const BulletWheel self, const LVector3f axle) - /**
- Determines the wheel axle normal vector. 
 - */ 
 
 - setWheelDirectionCs()
- C++ Interface: set_wheel_direction_cs(const BulletWheel self, const LVector3f dir) - /**
- Sets the wheel’s forward vector. (Most likely orthogonal to the axle 
- vector.) 
 - */ 
 
 - setWheelRadius()
- C++ Interface: set_wheel_radius(const BulletWheel self, float value) - /**
- Sets the wheel radius. 
 - */ 
 
 - setWheelsDampingCompression()
- C++ Interface: set_wheels_damping_compression(const BulletWheel self, float value) - /**
- Sets the damping forces applied when the suspension gets compressed. 
 - */ 
 
 - setWheelsDampingRelaxation()
- C++ Interface: set_wheels_damping_relaxation(const BulletWheel self, float value) - /**
- Sets the damping forces applied when the suspension relaxes. 
 - */ 
 
 - setWheelsSuspensionForce()
- C++ Interface: set_wheels_suspension_force(const BulletWheel self, float value) - /**
- */ 
 
 - setWorldTransform()
- C++ Interface: set_world_transform(const BulletWheel self, const LMatrix4f mat) - /**
- */ 
 
 - set_chassis_connection_point_cs()
- C++ Interface: set_chassis_connection_point_cs(const BulletWheel self, const LPoint3f pos) - /**
- Sets the point where the wheel is connected to the chassis. 
 - */ 
 
 - set_clipped_inv_connection_point_cs()
- C++ Interface: set_clipped_inv_connection_point_cs(const BulletWheel self, float value) - /**
- */ 
 
 - set_engine_force()
- C++ Interface: set_engine_force(const BulletWheel self, float value) - /**
- Defines how much force should be used to rotate the wheel. 
 - */ 
 
 - set_friction_slip()
- C++ Interface: set_friction_slip(const BulletWheel self, float value) - /**
- Sets the slipperyness of the tyre. 
 - */ 
 
 - set_front_wheel()
- C++ Interface: set_front_wheel(const BulletWheel self, bool value) - /**
- Sets if the wheel is steerable. 
 - */ 
 
 - set_max_suspension_force()
- C++ Interface: set_max_suspension_force(const BulletWheel self, float value) - /**
- Sets the maximum suspension force the wheel can handle. 
 - */ 
 
 - set_max_suspension_travel_cm()
- C++ Interface: set_max_suspension_travel_cm(const BulletWheel self, float value) - /**
- Sets the maximum distance the suspension can travel out of the resting 
- position in centimeters. 
 - */ 
 
 - set_node()
- C++ Interface: set_node(const BulletWheel self, PandaNode node) - /**
- Sets the PandaNode which representates the visual appearance of this wheel. 
 - */ 
 
 - set_roll_influence()
- C++ Interface: set_roll_influence(const BulletWheel self, float value) - /**
- Defines a scaling factor for roll forces that affect the chassis. 0.0 
- means no roll - the chassis won’t ever flip over - while 1.0 means original 
- physical behaviour. Basically, this allows moving the center of mass up 
- and down. 
 - */ 
 
 - set_steering()
- C++ Interface: set_steering(const BulletWheel self, float value) - /**
- Sets the steering angle. 
- @warning 
- As of 1.11, this method uses degrees. Previous versions used radians. 
 - */ 
 
 - set_suspension_relative_velocity()
- C++ Interface: set_suspension_relative_velocity(const BulletWheel self, float value) - /**
- */ 
 
 - set_suspension_stiffness()
- C++ Interface: set_suspension_stiffness(const BulletWheel self, float value) - /**
- Sets how stiff the suspension shall be. 
 - */ 
 
 - set_wheel_axle_cs()
- C++ Interface: set_wheel_axle_cs(const BulletWheel self, const LVector3f axle) - /**
- Determines the wheel axle normal vector. 
 - */ 
 
 - set_wheel_direction_cs()
- C++ Interface: set_wheel_direction_cs(const BulletWheel self, const LVector3f dir) - /**
- Sets the wheel’s forward vector. (Most likely orthogonal to the axle 
- vector.) 
 - */ 
 
 - set_wheel_radius()
- C++ Interface: set_wheel_radius(const BulletWheel self, float value) - /**
- Sets the wheel radius. 
 - */ 
 
 - set_wheels_damping_compression()
- C++ Interface: set_wheels_damping_compression(const BulletWheel self, float value) - /**
- Sets the damping forces applied when the suspension gets compressed. 
 - */ 
 
 - set_wheels_damping_relaxation()
- C++ Interface: set_wheels_damping_relaxation(const BulletWheel self, float value) - /**
- Sets the damping forces applied when the suspension relaxes. 
 - */ 
 
 - set_wheels_suspension_force()
- C++ Interface: set_wheels_suspension_force(const BulletWheel self, float value) - /**
- */ 
 
 - set_world_transform()
- C++ Interface: set_world_transform(const BulletWheel self, const LMatrix4f mat) - /**
- */ 
 
 - skid_info
 - steering
 - suspension_relative_velocity
 - suspension_rest_length
 - suspension_stiffness
 - wheel_axle_cs
 - wheel_direction_cs
 - wheel_radius
 - wheels_damping_compression
 - wheels_damping_relaxation
 - wheels_suspension_force
 - world_transform
 
