Avvel |
Avvel (="avatar velocity") allows an avatar to interact with object on collision, e.g. to kick a ball. Avvel does not work with "tree" or with "static". |
create collider box avvel |
create collder sphere mass=1 avvel |
Colltag |
The colltag command is followed by a number (integer), and is used in combination/interaction with other objects with the same colltag number. |
create colltag 33 (-> colltag is used with the collide command) |
Addforce |
addforce "adds a force" onto an object in a specified direction (x y z -axis) , optional : ltm (object axis instead of world axis) . Adding 3 extra coordinates for pitch , yaw and roll will make the object spin around its geometric center. You can add a name command. |
create collider sphere; activate addforce 1 0 0 (-> the object will move along the x axis with a force of 1 newton) |
create collider sphere; activate addforce 0 0 30 (-> the object will move along the z axis with a force of 30 newtons) |
create collider sphere; activate addforce 0 0 -30 (-> the object will move along the z axis but in the opposite direction) |
create collider sphere; activate addforce 10 0 0 ltm (-> ltm will make the object move on the object's axises instead of the world's axises ) |
create collider sphere;activate addforce 10 0 0 10 0 10 (-> the object will also spin around its x and z-axis ) (= pitch and roll) |
addforce will react differently if the object has "nograv" (collider sphere nograv ) or if it has the object has a "mass" (collider sphere mass=1 ) |
Velocity |
Velocity adds a speed onto an object in a specified direction (x y z-axis), optional : ltm (object axis instead of world axis) . Adding coordinates for pitch , yaw and roll will make the object spin around its geometric center. You can add a name command. |
create collider sphere ; activate velocity 10 0 0 (-> the object will move along the x axis with a speed of 10 meters per second) |
create collider sphere ; activate velocity 10 0 0 10 0 10 (-> the object will also spin around its x and z-axis ) (= pitch and roll) |
Velocity will react differently if the object has "nograv" or if it has the object has a "mass". |
Addtorque |
Addtorque adds a rotation force onto the object (pitch for x-axis, yaw for y-axis and roll for z-axis) . Optional : ltm (object axis instead of world axis).You can add a name command. |
create collider sphere; activate addtorque 10 0 0 |
create collider sphere; activate addtorque 0 0 -10 |
Addtorque will react differently if the object has "nograv" or if it has the object has a "mass". |