[Opensim-dev] Warning w/ ODE & llTargetOmega

Teravus Ovares teravus at gmail.com
Fri Jul 10 18:01:06 UTC 2009


After looking at the code again, I could not find a single place that
set PhysActor.RotationalVelocity, which, is the proper property for
setting angular velocity in the physics engine currently.   This means
that physics isn't aware, currently, of any case where a specific
rotational velocity is set like would be expected to occur if you made
a llTargetOmega prim physical.

There's also a PhysActor.Torque, that acts as a single Impulse,
however, that's only used from llSetTorque and llSetForceAndTorque.
 This means that there's currently no visible way for llTargetOmega to
have a different effect on physics based on phantom status.  The
Angular Velocity is never sent to the physics layer from the Scene
Graph layer.

The fact that this is missing is interesting to me because I remember
testing the functionality way back when.

Regards

Teravus

On Fri, Jul 10, 2009 at 12:50 PM, Charles Krinke<cfk at pacbell.net> wrote:
> Well,... then lets patch it until we can get it to the 'happiness' state.
> Patches eagerly accepted.
>
> Charles
>
> ________________________________
> From: Brianna <wwwench at gmail.com>
> To: opensim-dev at lists.berlios.de
> Sent: Friday, July 10, 2009 9:42:19 AM
> Subject: Re: [Opensim-dev] Warning w/ ODE & llTargetOmega
>
> Suffice it to say, llTargetOmega was semi promised to be implemented 6
> months ago and with fixes to well documented issues. Doesn't work yet.
>
>
> ----- Original Message -----
> From: Nebadon Izumi
> To: opensim-dev at lists.berlios.de
> Sent: Friday, July 10, 2009 9:34 AM
> Subject: Re: [Opensim-dev] Warning w/ ODE & llTargetOmega
> Apparently if you don't set Phantom Manually with lltargetomega, the flag is
> not actually set  and ODE might be interpreting as such.
>
> Neb
> On Fri, Jul 10, 2009 at 2:36 AM, Melanie <melanie at t-data.com> wrote:
>>
>> What does Ode do  with llTargetOmega? Unless the object is physical,
>> llTargetOmega is a clientside effect and should not cause any
>> physics updates.
>>
>> Melanie
>>
>> Frisby, Adam wrote:
>> > Just a warning folks
>> >
>> > I just spent a week trying to figure out why LBSA Plaza was lagging all
>> > of a sudden - apparently llTargetOmega can cause ODE to progressively run
>> > slower and slower. Setting the object in question to phantom instantly fixed
>> > the problem.
>> >
>> > This might be of use to anyone else who notices a similar condition
>> > whereby the sim CPU progressively increases over time.
>> >
>> > Adam
>> >
>> >
>> >
>> > ------------------------------------------------------------------------
>> >
>> > _______________________________________________
>> > Opensim-dev mailing list
>> > Opensim-dev at lists.berlios.de
>> > https://lists.berlios.de/mailman/listinfo/opensim-dev
>> _______________________________________________
>> Opensim-dev mailing list
>> Opensim-dev at lists.berlios.de
>> https://lists.berlios.de/mailman/listinfo/opensim-dev
>
>
>
> --
> Michael Emory Cerquoni - Nebadon Izumi @ http://osgrid.org
>
> ________________________________
>
> _______________________________________________
> Opensim-dev mailing list
> Opensim-dev at lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/opensim-dev
>
> _______________________________________________
> Opensim-dev mailing list
> Opensim-dev at lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/opensim-dev
>
>



More information about the Opensim-dev mailing list