Download Fluxus documentation

Transcript
Fluxus Manual [version 0.16] : This work is licensed under Creative Commons Attribution-Share Alike 2.5 Generic
(passive­box primitiveid­number)
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)
(passive­cylinder primitiveid­number)
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)
(passive­sphere primitiveid­number)
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)
(surface­params slip1­number slip2­number softerp­number 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