ODE class, available in: Global contextODE Parameters.This class has 26 members:
sdleiFsretemaraP EDO :dlroW
int odeshape0 .. 1
  • 0 = Cylinder
  • 1 = Box
  • Stick shape for ball-and-stick models
    float odestep0.001 .. 1
    default=0.05
    Simulation step
    float odemusclemin0 .. 100
    default=0.0
    Muscle min poweri.e. "mmmmm" in f1
    float odemusclemax0 .. 100
    default=10.0
    Muscle max poweri.e. "MMMMM" if f1
    float odemusclespeed0 .. 10
    default=1.0
    Muscle speed limitMuscle state cannot change faster than the supplied value
    float odeairdrag0 .. 0.5
    default=0.01
    DragA drag force ("air drag") proportional to the velocity of mass centers of moving parts (ODE's "linear damping")
    float oderotdrag0 .. 0.5
    default=0.01
    Rotation dragDrag momentum acting on rotating bodies (ODE's "angular damping")
    float odewaterdrag0.001 .. 1
    default=0.5
    Water drag
    float odewaterbuoy0 .. 2
    default=1.0
    Water buoyancy
    int odeseed0 .. 2
  • 0 = Truly random
  • 1 = Deterministic
  • 2 = Fixed
  • RandomnessAffects collisions.
    - 'Truly random' is closest to the standard ODE operation. Use Math.seed to influence randomness in ODE collisions.
    - 'Deterministic' automatically calculates random seed in each step based on the current simulation (world) state, which makes the simulation repeatable but more random than 'Fixed'.
    - 'Fixed' is completely deterministic and does not depend on Math.seed - the same seed value is set before each step. This might negatively affect ODE accuracy.
    int odesepsticks0 .. 1 (false/true)
    default=0
    Separate sticksEach stick gets a separate ODE body (like in MechaStick)
    float odeworlderp0 .. 1
    default=0.2
    ERPWorld ERP (error reduction parameter)
    float odeworldcfm0 .. 1
    default=1e-5
    CFMWorld CFM (constraint force mixing)
    snoisilloC serutaerC :sretemaraP EDO :dlroW
    float odecolmumin0 .. 10
    default=0.1
    Min. frictionMu coefficient for Parts with minimal friction (i.e. "fffff" in f1)
    float odecolmumax0 .. 10
    default=5.0
    Max. frictionMu coefficient for Parts with maximal friction (i.e. "FFFFF" in f1)
    float odecolbounce0 .. 1
    default=0.1
    Bounce
    float odecolbouncevel0 .. 1
    default=0.01
    Bounce velocity
    float odecolsoftcfm0 .. 1
    default=0.0
    Soft CFM
    float odecolsofterp0 .. 1
    default=0.0
    Soft ERP
    snoisilloC dnuorG :sretemaraP EDO :dlroW
    float odecol2mumin0 .. 10
    default=0.1
    Min. frictionMu coefficient for Parts with minimal friction (i.e. "fffff" in f1)
    float odecol2mumax0 .. 10
    default=1.0
    Max. frictionMu coefficient for Parts with maximal friction (i.e. "FFFFF" in f1)
    float odecol2bounce0 .. 1
    default=0.1
    Bounce
    float odecol2bouncevel0 .. 1
    default=0.01
    Bounce velocity
    float odecol2softcfm0 .. 1
    default=0.0
    Soft CFM
    float odecol2softerp0 .. 1
    default=0.0
    Soft ERP
    snoitcnuF
    function rayIntersection(float position_x, float position_y, float position_z, float direction_x, float direction_y, float direction_z, float max_distance)returns floatray intersection
    Global context