## LSL Wiki : Dynamics

HomePage :: PageIndex :: RecentChanges :: RecentlyCommented :: UserSettings :: You are crawl338.us.archive.org

## Dynamics

Dynamics (or physics) is concerned with moving or rotating objects and prims. They are broken into two categories:

### Kinematic

Kinematic functions operate on non-physical tasks and generate motions without consideration of forces and torques.

 Function Comment llSetPos llSetRot llSetLocalRot llSetScale Not really a dynamics function, as it changes task size.

### Kinetic

Kinetic functions generate forces and torques on physical tasks, and the resulting motion is determined by the mass (inertia) of the object or prim. Note that an object's energy modulates the force that is actually applied.

 Function Comment llApplyImpulse llApplyRotationalImpulse llGetAccel llGetForce llGetTorque Equivalent to llGetAccel for rotational movement. llGetOmega Don't confuse this with llTargetOmega. llGetOmega is equivalent to llGetVel for rotational movement. llGetVel llGroundRepel llMoveToTarget llPushObject llSetBuoyancy llSetForce llSetForceAndTorque llSetHoverHeight llSetTorque llTargetOmega Applies its spin to physical objects on the server side when object is set physical, if non-physical, this function becomes client side.
These apply to both physical and non-physical entities:

Note: llTargetOmega is not a true dynamics function if an object is not set physical.

Vehicle functions can provide similar effects as the ones shown here.

Functions | Physics
Doesn't llSetRot work for physical children?
-- GuzarFonzarelli (2004-02-19 18:14:59)
It should...
-- ChristopherOmega (2004-02-19 18:58:21)
There seems to be a problem I cant solve at the moment (Im currently busy in SL), llTargetOmega MAY be a dynamics function. When an object is physical, the effects of llTargetOmega are

### NOT

client side.
-- ChristopherOmega (2004-04-24 22:58:51)
A comment on my comment: Now that I've read through the wiki for llGetTorque, Im not sure if it can be directly compared to llGetAccell, since its units are in Newtons/meter, and accell's are in meters/second^2. I always thought it would, but then its units would have to be radians/second^2...
-- ChristopherOmega (2004-04-24 23:02:47)
how could newtons be measured per meter? im just starting high school so humor me if its a stupid question
-- SchitsoMonkey (2005-07-24 00:20:27)
My bad - that's a really old question I posted. Though I still feel awkward about the units on the llGetTorque page, how can a force that affects rotation be measured in Newton-Meters? Wouldn't a better unit be something like Newton-Radians?
-- ChristopherOmega (2005-07-24 13:39:10)
maybe it has something to do with the size of the object, like maybe a 10kg object with 10newtons of force applied to it will have a force of 1n/m...but i agree with you, i dont see how rotation could be measured like that
-- SchitsoMonkey (2005-07-25 11:55:54)
See http:en.wikipedia.org/wiki/Torque

Think about rotating something by sticking a pole through it and pushing the end of the pole round (like Arnie does in Conan the Barbarian). If you push at it with a longer pole you get more "rotational force" or torque - you can do more with the same force (Newtons). If you push with a very short pole its going to be very hard.
-- SeifertSurface (2005-07-26 22:53:58)
ok, i guess i get it
-- SchitsoMonkey (2005-07-27 17:05:18)

breaking italics
-- BlindWanderer (2005-07-27 20:13:07)
Should llGetEnergy be posted here?
-- DolusNaumova (2005-11-06 09:22:32)