btRaycastVehicle_addWheel

A function defined in GMBullet.yy

btRaycastVehicle_addWheel(raycastVehicle, connectionPointCS0, wheelDirectionCS0, wheelAxleCS, suspensionRestLength, wheelRadius, tuning, isFrontWheel)

Description

Add a wheel to the btRaycastVehicle with specified parameters.

Arguments

Name Type Description
raycastVehicle Pointer A pointer to the btRaycastVehicle object.
connectionPointCS0 Pointer The connection point of the wheel in chassis space.
wheelDirectionCS0 Pointer The direction of the wheel in chassis space.
wheelAxleCS Pointer The axle direction of the wheel in chassis space.
suspensionRestLength Real The rest length of the suspension in the uncompressed state.
wheelRadius Real The radius of the wheel.
tuning Pointer A pointer to the btVehicleTuning object specifying tuning parameters for the wheel.
isFrontWheel Bool A boolean indicating whether the wheel is a front wheel.

Copyright © 2024, BlueBurn. Built on October 13, 2024 using GMDoc.