On Thu, 2011-05-26 at 09:22 +0800, yaoyansi wrote:
> Does Naali0.4 support physics simulation? If it does, how to enable
> the physics simulation in Naali0.4?
> For example, I hope a cube can fall on to the ground automaticly . 

Yes, in the sense that it doesn't know anything about it and lets
Opensim run it on the server side (which is always the case with such
physics currently in SL and Opensim).

Like mentioned in the other post, iirc you must make the 'prim' (sl talk
for a scene object in general, not only ones made with prims but covers
also meshes and everything there) physical.

I visited OSGrid's nice recreation plaza with my build of Naali 0.4 now,
but unfortunately have something amiss in that dev build 'cause build
mode didn't open .. and there are no prebuilt binaries of old versions
for the new ubuntu 11.04 now. Am rebuilding with worldbuildmode enabled,
otherwise can test on some other machine later. EC editor showed some of
the prim params (the shape), but iirc others are in the properties tab
(which is special opensim prim things, outside the generic EC system
there).

In SLviewers GUI the physics properties are called 'Physical' (gravity
affects iirc) and 'Phantom' (whether other things collide to it or not),
are in Object tab apparently. Am now visiting the same recreation plaza
with Imprudence so can see that.

IIRC Jonne put the things to the build mode properties tab, if it
doesn't have all the flags is probably quite easy to add the missing
ones.

Like mentioned in the earlier post, the EC based EC_RigidBody is not in
0.4, and even if you'd use newer Naali/Tundra which has it, there is no
implementation of that on the Taiga/ModRex side so it wouldn't actually
activate the opensim side ODE physics. 

However, if you want client side physics in Naali for some reason, it
would be possible to adapt the PhysicsModule from later versions and
then the generic EC system which already exists in Taiga would just
store those properties on the server .. and clients could run physics
with Bullet.

But I figure you want the server side, so just using ODE there like
normally with Opensim is the way .. i.e. enabling that 'physical' flag
(the physics engine is enabled by default in opensim.ini in taiga).

> yaoyansi

~Toni


-- 
http://groups.google.com/group/realxtend
http://www.realxtend.org

Reply via email to