Download Fluxus documentation
Transcript
Fluxus Manual [version 0.16] : This work is licensed under Creative Commons Attribution-Share Alike 2.5 Generic (passivebox primitiveidnumber) Returns void Enable the object to be acted upon by the physics system, using a box as the bounding volume. As a passive object, active objects will collide with it, but it will not be transformed. Note: rotations only work correctly if you specify your transforms scale first, then rotate (translate doesn't matter) basically, ode can't deal with shearing transforms. Example (define mycube (build-cube)) (passive-box mycube) (passivecylinder primitiveidnumber) Returns void Enable the object to be acted upon by the physics system, using a cylinder as the bounding volume. As a passive object, active objects will collide with it, but it will not be transformed. Note: rotations only work correctly if you specify your transforms scale first, then rotate (translate doesn't matter) basically, ode can't deal with shearing transforms. Example (define mycube (build-cube)) (passive-cylinder mycube) (passivesphere primitiveidnumber) Returns void Enable the object to be acted upon by the physics system, using a sphere as the bounding volume. As a passive object, active objects will collide with it, but it will not be transformed. Note: rotations only work correctly if you specify your transforms scale first, then rotate (translate doesn't matter) basically, ode can't deal with shearing transforms. Example (define mycube (build-cube)) (passive-sphere mycube) (surfaceparams slip1number slip2number softerpnumber softcfm number) Returns void Sets some global surface attributes that affect friction and bouncyness. see section 7.3.7 of the ODE docs for an explanation of these parameters Page 87