-
Notifications
You must be signed in to change notification settings - Fork 225
Cars – New inputs for dynamic controllers
Ilja Jusupov edited this page Jun 11, 2022
·
2 revisions
CSP adds new inputs that could be used in dynamic physics controllers (along with existing ones like LATG
):
-
HEADLIGHTS
; -
CLUTCH
; -
HANDBRAKE
; -
HORN
; -
GEAR_ALT
: unlike originalGEAR
, this one does not go through neutral when shifting; -
LIGHT_EXTRA_A
; -
LIGHT_EXTRA_B
; -
LIGHT_EXTRA_C
; -
LIGHT_EXTRA_D
; -
LIGHT_EXTRA_E
(added in 0.1.76); -
LIGHT_EXTRA_F
(added in 0.1.76); -
AXLES_DIFFERENCE_RELATIVE
: relative difference in angular speed of axles (averaging wheels angular speed); -
AXLES_DIFFERENCE_ABSOLUTE
: absolute difference; -
AXLES_DIFFERENCE_SIGNED
: above zero if front axle spins faster than rear one; -
FRONT_AXLE_DIFFERENCE_RELATIVE
: relative difference in angular speed of front wheels; -
FRONT_AXLE_DIFFERENCE_ABSOLUTE
: absolute difference; -
FRONT_AXLE_DIFFERENCE_SIGNED
: above zero if left wheel is faster; -
REAR_AXLE_DIFFERENCE_RELATIVE
: same, but for rear axle; -
REAR_AXLE_DIFFERENCE_ABSOLUTE
; -
REAR_AXLE_DIFFERENCE_SIGNED
; -
DAMAGE_ENGINE
: from 0 to 1 (added in 0.1.76); -
DAMAGE_GEARBOX
: from 0 to 1 (added in 0.1.76);
Also, since 0.1.77 car physics can use Lua script which can access car state, do its computation and set 8 different values:
-
SCRIPT_0
; -
SCRIPT_1
; -
SCRIPT_2
; -
SCRIPT_3
; -
SCRIPT_4
; -
SCRIPT_5
; -
SCRIPT_6
; -
SCRIPT_7
.
If you have any question or suggestions, please feel free to add a new issue.
- Enabling Extended Physics
- Aerodynamics
- Body Flex
- Custom Suspension Joints
- Driver Weight Shift for Karts
- Extra Turbo Options
- More Clutch Damage
- New Inputs for Dynamic Controllers
- Physics Scripts
- Setup Items Driven By Controllers
- Suspension
- Cosmic Suspension
- Tyre Types
- Enabling Extended Physics
- General Options
- Custom Raycasting
- Collision Parameters
- Dynamic Physics Objects
- Geometric colliders
- Surface Tweaks
- Extra FX Flags
- Extra FX Emissive
- Mesh Adjustments
- Model Replacements
- Shader Replacements
- Scene Queries
- UV2
- General Options
- Analog Instruments
- Animations
- Digital Instruments
- Emissive Objects
- Extra Switches
- Inputs
- LED panels
- Multichannel Emissives
- Vintage Tachometers
- Audio
- Brake Disc FX
- Deforming Bonnets
- Driver Model
- Exhaust Smoke
- Exhaust Flames
- Extra Lights
- Fake Shadows FX
- Local Cubemaps
- Mesh Splitting
- Miscellaneous Options
- Neck FX
- Node Adjustments
- Smart Mirror
- Sparks
- Tyres FX
- Visually Adjustable Wings
- Wheels
- Wobbly Bits
- Wobbly Wipers