BulletWheel

class BulletWheel

One wheel of a BulletVehicle. Instances should not be created directly but using the factory method BulletVehicle::create_wheel().

Inheritance diagram

digraph inheritance0ccfd49bd1 { bgcolor=transparent; rankdir=BT; size="8.0, 12.0"; "BulletWheel" [URL="acron.bullet.BulletWheel.html#acron.bullet.BulletWheel",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "DTOOL_SUPER_BASE" -> "BulletWheel" [arrowsize=0.75,style=""]; "DTOOL_SUPER_BASE" [fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style=""]; }
BulletWheel.__init__()
BulletWheel.get_brake()

Returns the amount of braking force currently applied.

BulletWheel.get_chassis_connection_point_cs()

Returns the point where the wheel is connected to the chassis.

BulletWheel.get_clipped_inv_connection_point_cs()
BulletWheel.get_delta_rotation()
BulletWheel.get_engine_force()

Returns the amount of accelleration force currently applied.

BulletWheel.get_friction_slip()

Returns how slippery the tyres are.

BulletWheel.get_max_suspension_force()

Returns the maximum force (weight) the suspension can handle.

BulletWheel.get_max_suspension_travel_cm()
BulletWheel.get_node()

Returns the AcronNode which representates the visual appearance of this wheel, if such a representation has been set previously.

BulletWheel.get_raycast_info()
BulletWheel.get_roll_influence()

Returns the factor by which roll forces are scaled. See set_roll_influence.

BulletWheel.get_rotation()
BulletWheel.get_skid_info()
BulletWheel.get_steering()

Returns the steering angle in degrees.

Warning

As of 1.11, this method uses degrees. Previous versions used radians.

BulletWheel.get_suspension_relative_velocity()
BulletWheel.get_suspension_rest_length()

Returns the length of the suspension when the vehicle is standing still.

BulletWheel.get_suspension_stiffness()

Returns the stiffness of the suspension.

BulletWheel.get_wheel_axle_cs()

Returns the normal vector of the wheel axle.

BulletWheel.get_wheel_direction_cs()

Returns the wheel’s forward vector relative to the chassis.

BulletWheel.get_wheel_radius()

Returns the wheel radius.

BulletWheel.get_wheels_damping_compression()

Returns the damping applied to the compressing suspension.

BulletWheel.get_wheels_damping_relaxation()

Returns the damping applied to the relaxing suspension.

BulletWheel.get_wheels_suspension_force()
BulletWheel.get_world_transform()
BulletWheel.is_front_wheel()

Determines if a wheel is steerable.

BulletWheel.set_brake()
BulletWheel.set_chassis_connection_point_cs()

Sets the point where the wheel is connected to the chassis.

BulletWheel.set_clipped_inv_connection_point_cs()
BulletWheel.set_delta_rotation()
BulletWheel.set_engine_force()

Defines how much force should be used to rotate the wheel.

BulletWheel.set_friction_slip()

Sets the slipperyness of the tyre.

BulletWheel.set_front_wheel()

Sets if the wheel is steerable.

BulletWheel.set_max_suspension_force()

Sets the maximum suspension force the wheel can handle.

BulletWheel.set_max_suspension_travel_cm()

Sets the maximum distance the suspension can travel out of the resting position in centimeters.

BulletWheel.set_node()

Sets the AcronNode which representates the visual appearance of this wheel.

BulletWheel.set_roll_influence()

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.

BulletWheel.set_rotation()
BulletWheel.set_skid_info()
BulletWheel.set_steering()

Sets the steering angle.

Warning

As of 1.11, this method uses degrees. Previous versions used radians.

BulletWheel.set_suspension_relative_velocity()
BulletWheel.set_suspension_stiffness()

Sets how stiff the suspension shall be.

BulletWheel.set_wheel_axle_cs()

Determines the wheel axle normal vector.

BulletWheel.set_wheel_direction_cs()

Sets the wheel’s forward vector. (Most likely orthogonal to the axle vector.)

BulletWheel.set_wheel_radius()

Sets the wheel radius.

BulletWheel.set_wheels_damping_compression()

Sets the damping forces applied when the suspension gets compressed.

BulletWheel.set_wheels_damping_relaxation()

Sets the damping forces applied when the suspension relaxes.

BulletWheel.set_wheels_suspension_force()
BulletWheel.set_world_transform()