Must haves:
- llMoveToRot
- llSetDensity and / or llSetMass
- llSetVelocity
Nice to have:
- llSetElasticity
- llSetFriction
P.S. The new llVolumeDetect is really, really cool.
These forums are CLOSED. Please visit the new forums HERE
Physics Engine requests |
|
Azelda Garcia
Azelda Garcia
Join date: 3 Nov 2003
Posts: 819
|
01-06-2004 18:16
Must haves:
- llMoveToRot - llSetDensity and / or llSetMass - llSetVelocity Nice to have: - llSetElasticity - llSetFriction P.S. The new llVolumeDetect is really, really cool. |
Carnildo Greenacre
Flight Engineer
Join date: 15 Nov 2003
Posts: 1,044
|
Re: Physics Engine requests
01-06-2004 20:55
Originally posted by Azelda Garcia Must haves: - llMoveToRot I don't know what this one would do - llSetDensity and / or llSetMass Can be faked to some degree with llSetBuoyancy() - llSetVelocity See llApplyImpulse() P.S. The new llVolumeDetect is really, really cool. Agreed! _____________________
perl -le '$_ = 1; (1 x $_) !~ /^(11+)\1+$/ && print while $_++;'
|
Azelda Garcia
Azelda Garcia
Join date: 3 Nov 2003
Posts: 819
|
01-07-2004 07:37
Some explanations:
Must haves: - llMoveToRot Like MoveToTarget but for rotations. You set the rotation and the tau and your object moves to that rotation with critical damping. - llSetDensity and / or llSetMass Two reasons for this: - for vehicles, you need extremely low mass or you run out of energy, setbuoyancy doesnt help with this, because it needs energy - for cannonballs, you want something with high mass so it knocks people out of hte way when it hits them - llSetVelocity By which I mean, it will critically damp the velocity to the value here with time tau. You could fake this by making an object of high mass and using ApplyImpulse, but just having SetVelocity would seem to impose much less strain on the physics engine and my head. One use for this is for mobs which you want to move around at a constant speed. Nice to have: - llSetElasticity Sets behavior when two objects collide. Currently elasticity is close to 1, sometimes you want it much lower than this. - llSetFriction By which I mean: SurfaceFriction. Make it possible to make two objects slide over each other without tumbling or jerking to a halt |
Kex Godel
Master Slacker
![]() Join date: 14 Nov 2003
Posts: 869
|
01-07-2004 08:30
I support/endorse this product and/or service.
I like all of it, especially llSetMass. It's silly that you need a bullet meter in length to get a reasonably realistic amount of kickback and impact force. |
si Money
The nice demon.
Join date: 21 May 2003
Posts: 477
|
01-07-2004 10:48
Originally posted by Azelda Garcia Some explanations: Must haves: - llMoveToRot Like MoveToTarget but for rotations. You set the rotation and the tau and your object moves to that rotation with critical damping. llRotLookAt Originally posted by Azelda Garcia - llSetVelocity By which I mean, it will critically damp the velocity to the value here with time tau. You could fake this by making an object of high mass and using ApplyImpulse, but just having SetVelocity would seem to impose much less strain on the physics engine and my head. One use for this is for mobs which you want to move around at a constant speed. llMoveToTarget or llSetForce _____________________
Like a soul without a mind
In a body without a heart I'm missing every part -- Progress -- Catherine Omega: Yes, but lots of stuff isn't listed. "Making UI harder to use than ever" and "removing all the necessary status icons" things.... there's nothing like that in the release notes. ![]() |
Azelda Garcia
Azelda Garcia
Join date: 3 Nov 2003
Posts: 819
|
01-07-2004 12:00
> llRotLookAt
There are two problems with llRotLookAt: - it points the blue axis at the target, I need the red axis (the forward axis) to point to the target - there is no way to enforce the angle about this axis, after a while you tend to get angle drift, and your object tilts to one side, or turns upside down > llMoveToTarget Not a constant velocity. llMoveToTarget gives a critically damped motion. > llSetForce Not a constant velocity. This will accelerate the object, whether it is floating or on the ground. Frictional force on the gorund is constant giving constant acceleration. In the air there is no friction giving constant acceleration. Also note that llSetForce will not react to external evetns. Eg, imagine I have a train. It should move with constant velocity even if something hits it. llSetForce cannot handle this. Azelda |
BuhBuhCuh Fairchild
Professional BuhBuhCuh
Join date: 9 Oct 2002
Posts: 503
|
01-07-2004 13:28
Originally posted by Azelda Garcia >There are two problems with llRotLookAt: ... I think you are confusing llLookAt and llRotLookAt - llLookAt points the +z axis at a pos, but llRotLookAt (perhaps poorly named) lets you specify a rotation, and leads to neither of the problems you will find for llLookAt (the axis, and the lack of constraint about the axis) I agree that the llSetDensity, elasticity. and friction would be nice - the material chooser does a little of the latter 2 - you will find that flesh is less bouncey, and glass has less friction - but more control wouldn't hurt I say! As for the llSetVelocity, right now I *might* use llApplyImpulse, but I would be far more tempted to make my object a "vehicle," and use the motor params. It comes complete with easy-to-use damping tools, and now that I think of it, better friction controls as well. bbc _____________________
START! Make your own movie in Second Life for The Take 5 Machinima Festival Films due Dec 4, screening Dec 7! http://www.alt-zoom.com/take5.htm |
Azelda Garcia
Azelda Garcia
Join date: 3 Nov 2003
Posts: 819
|
01-07-2004 13:41
> I think you are confusing llLookAt and llRotLookAt - llLookAt points the +z axis at a pos, but llRotLookAt (perhaps poorly named) lets you specify a rotation, and leads to neither of the problems you will find for llLookAt (the axis, and the lack of constraint about the axis)
Ooo, you are right! Cool! Azelda |