Update friction during runtime
Do you know if it is possible to update friction like mu, mu2, or something under <ode> through commands?
I doubt it exists but it won't hurt to ask anyway
Do you know if it is possible to update friction like mu, mu2, or something under <ode> through commands?
I doubt it exists but it won't hurt to ask anyway
Hi, there's not exactly a command, but the API is there. You can find it in the TrackController system. Some more related discussion is in the Pull request adding track controller.
Basically, you will need to enable contact surface customization for all the collisions you want to alter (by setting the EnableContactSurfaceCustomization component of the collisions). Then you will need to subscribe to event CollectContactSurfaceProperties which passes you the contact object created and pre-filled by the physics engine and you can alter it in any way you like before passing it back to the physics engine.
AFAIK this workflow is currently only supported with DART.
If you're only trying to implement wheel slip, have a look at the WheelSlip system, which comes even with an Ign service you can call from command line to change the slip parameters.
Asked: 2022-06-26 12:05:05 -0600
Seen: 122 times
Last updated: Jul 05 '22
Design general model inside ignition (Citadel or Fortress)
How to launch with maximum screen [closed]
Publish message from the command line
Question about command line's delay and array
The transition/difference between Citadel and Fortess
background color in the world in Fortress/Citadel