[prev in list] [next in list] [prev in thread] [next in thread] 

List:       osflash-sandy
Subject:    [Sandy] Sandy 3.0 lookAt
From:       petit () petitpub ! com (Petit)
Date:       2007-08-20 9:42:39
Message-ID: 46C9620F.8050505 () petitpub ! com
[Download RAW message or body]

Oh, I will ;)

Thomas Pfeiffer wrote:
> YEs once again very interessting Petit ;)
>
> This method was available in the ealier versions, but nic to see it
> actually tested :P
>
> Keep continue Petit
>
> Thomas
>
> 2007/8/19, Dennis Ippel <ippeldv at gmail.com>:
>   
>> Interesting ... haven't used it either, but it's very useful. Thanks for
>> sharing!
>>
>> On 8/19/07, Petit <petit at petitpub.com> wrote:
>>     
>>> Hi, can't help myself ;-)
>>>
>>> There is a little efficient method In th Node class, that I haven't used
>>> before.
>>> The swapParent method - nice tool if you want your hero jump from the
>>> ground onto a moving train ( or some other stunt ).
>>>
>>> I wrote a proof of concept withe a cone ( pyramid rather ) jumping form
>>> a static TransformGroup to a rotating.
>>> And then back. Clicking the pyramid makes it jump from one group to the
>>> other.
>>>
>>> I thought that was fun ;)
>>>
>>> http://www.flashsandy.org/forum/index.php?s=&showtopic=633&view=findpost&p=3819
>>> /Petit
>>>
>>> kiroukou wrote:
>>>       
>>>> H?h? nice :)
>>>>
>>>> Yes lookAt is still here, but available for a lot of more objects
>>>> (not only camera). This feature shall be tested tho.
>>>> Image a cube moving around another. THe one static with a lookAt the
>>>> second moving. Would be glad to see what happen :)
>>>>
>>>> ++
>>>> Le 17 ao?t 07 ? 00:53, Petit a ?crit :
>>>>
>>>>
>>>>         
>>>>> Okay.
>>>>>
>>>>> Now you can lookAt something else if you like.
>>>>> I present some dancing primitives here, nothing advance but a small
>>>>> demo.
>>>>> http://www.flashsandy.org/forum/index.php?
>>>>> s=&showtopic=633&view=findpost&p=3794
>>>>>
>>>>> Cheers!
>>>>> /Petit
>>>>>
>>>>> Petit wrote:
>>>>>
>>>>>           
>>>>>> Oops!
>>>>>> I'm really sorry if I scared you.
>>>>>> Of course the lookAt method is there - it is only moved to the
>>>>>> ATransformable class.
>>>>>> I'm happy again. Now I can be smart, after all ;-)
>>>>>> If only I stay awake.
>>>>>> /P
>>>>>>
>>>>>> Petit wrote:
>>>>>>
>>>>>>
>>>>>>             
>>>>>>> Oh dear!
>>>>>>>
>>>>>>> What ever happened to the so useful lookAt feature?
>>>>>>> Is it really missing in 3.0?
>>>>>>>
>>>>>>> I just discovered this when I tried to be smart. I found that you
>>>>>>> can
>>>>>>> get the position of any ATransfromable object in three flavors:
>>>>>>> "absolute" which is in global coordinates,
>>>>>>> "local" which is in relation to the position of the group to
>>>>>>> which the
>>>>>>> object belongs, and
>>>>>>> "camera" which is the position in the camera's coordinate system.
>>>>>>>
>>>>>>> So I thought: Why not add a lookAt( object ) method to the Camera3D.
>>>>>>> Given an object, it would get its global coordinates and call its
>>>>>>> lookAt() method passing the objects global coordinate,
>>>>>>>
>>>>>>> Ah clever?
>>>>>>> Well, not so!
>>>>>>> That's when I discovered that the old lookAt method is gone.
>>>>>>> Is that for ever, or are we blessed with having it back some of
>>>>>>> these days?
>>>>>>>
>>>>>>> /Petit
>>>>>>>               



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic