On Mon, Aug 11, 2008 at 11:39 AM, Murray Cumming <[EMAIL PROTECTED]> wrote:
> Yet another box2d question. Sorry if they are becoming annoying.
>
> In the examples, the texture actors (the OpenedHand logos) can be moved
> around with the mouse, because their child "manipulatable" property is
> set. But depending on where you touch the actor with the mouse, the
> actor may also rotate around its center.
>
> Is there any way to stop this rotation?

There is a property giving such a behavior available in box2d itself,
but they aren't exposed in clutter-box2d due to C++ implementation
choices of box2d that currently aren't worked around (similar to the
per actor damping properties mentioned in bugzilla). Another way to
achieve similar results can be to use the box2d actor as a hidden
guide that you yourself sync up the position of an actor with when the
geometry of the box2d actor, this is similar to what I did for the
icons on the spinnable menus in
http://moblin.org/playground/?q=node/76 .

/Øyvind K.
-- 
«The future is already here. It's just not very evenly distributed»
 -- William Gibson
http://pippin.gimp.org/ http://ffii.org/
--
To unsubscribe send a mail to [EMAIL PROTECTED]

Reply via email to