here's another solution, only using Translate

Steve


On 7/22/07, Thomas O Fredericks <tof@danslchamp.org > wrote:
Here is the corrected patch (much simpler than what you are expecting)

Tom

On 7/22/07, Richard Powell < richardo.lists@gmail.com> wrote:


---------- Forwarded message ----------
From: Richard Powell <richardo.lists@gmail.com >
Date: Jul 22, 2007 3:32 PM
Subject: circular motion of a shape using TranslateXYZ
To: gem-dev@iem.at.

Hi everyone,

This is my first post to the list so please bear with me.

I am trying to move  a shape (sphere, square, cube doesn't matter to much) in a circle around a central point.  The Easiest way to do this is to use Translate XYZ to move the shape for example 1 unit X,Y or Z and then use rotateXYZ to rotate it.  Simple, except I would like to keep the shape always pointing up, so that the texture that will be applied to the shape will always be the correct way up.  For this I have decided to use just TranslateXYZ.  I have attached how far I have got with this so far.  As you can see the shape moves as in a square motion rather than a circular motion.

I am guessing I need to apply some maths to the numbers between the line object and the Translate XYZ object, but everything I've  tried hasn't worked.

Thanks in advance

Richard



_______________________________________________
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list





--
thomas ouellet fredericks, tof@danslchamp.org, montreal, canada
_______________________________________________
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list