Yeah, I don't know if you knew it or not :)

-Pete

On Fri, Mar 11, 2011 at 10:03 AM, rhys thomas <[email protected]>wrote:

> hey thanks for the quick response however are you saying that MouseEvent3D
> is in alpha stage or are you pointing out the blindingly obvious that Away3D
> is in alpha :D looooooool
>
>
> On Fri, Mar 11, 2011 at 3:00 PM, Peter Kapelyan <[email protected]>wrote:
>
>> Right now it's in alpha stage : )
>>
>> -Pete
>>
>>
>> On Fri, Mar 11, 2011 at 9:59 AM, GameDeveloper 
>> <[email protected]>wrote:
>>
>>> Hey guys,
>>>
>>> So I'm trying to create the basics behind an isometric engine that
>>> uses the new Away broomstick but am unsure as to why my idea won't
>>> work. I know that broomstick is obviously in production still but
>>> wouldn't mind someone being able to tell me wether certain classes are
>>> unfinished. For example MouseEvent3D?
>>>
>>> What I have done already is make a load of planes as tiles and set the
>>> lens to orthographic as well as the camera position at 100,100,-100
>>> giving it that isometric view. I then added one large plane that fills
>>> the view port, this was going to be used as my mouse event listener.
>>>
>>> So I intended that when you click somewhere on the large plane it
>>> could use localX, localY and loaclZ to get the mouse position in 3D
>>> and then grab hold of whatever object is under that position and allow
>>> you to drag and drop it anywhere on the screen. However i fail to get
>>> the correct results from localX, localY and localZ more than once
>>> (have no idea why it only works once and then only returns NaN).
>>>
>>> So is MouseEvent3D finished? or am I just missing something?
>>>
>>> seeing as this did not work I then attempted to use the UV but i guess
>>> the UV is not the UVW texture co-ordinates but the distorted version
>>> instead?
>>>
>>> So failing that i had a look at ray casting a line from the camera
>>> staright down the viewport but seeing as Camera3D does not have a
>>> direction variable I decided not to use that.
>>>
>>> So what I know have is a large 2D array or Planes in 3D space. Each
>>> tile has a name corresponding to its place in the array e.g Tile_0_1
>>> but this means I have loads of planes that i should not need. Also
>>> this collection of planes would only be used as a reference area I can
>>> pick up each plane but then I would not beable to place it anywhere on
>>> screen but only at locations where there is already a plane (tile) as
>>> I need something to get the MouseEvent in order to place it in the
>>> correct position.
>>> So this works for the time being allthough i would need to then create
>>> another array of tiles that are then actually movable tiles not just a
>>> grid reference. I have had a little exploration into classes such as
>>> Grid, MouseManager3D and Ray and cant see any of the helping, has
>>> anyone got any ideas of how to make this simple drag and drop
>>> isometric engine using Away3D broomstick, also i may want to rotate /
>>> angle the view differently from time to time so not just isometric so
>>> i guess it would need to use a 3d plane which you can the get the
>>> local position of the click on?
>>> PLEASE HELP!?!?!?!?
>>> thanks
>>> -Rhys
>>
>>
>>
>>
>> --
>> ___________________
>>
>> Actionscript 3.0 Flash 3D Graphics Engine
>>
>> HTTP://AWAY3D.COM
>>
>
>


-- 
___________________

Actionscript 3.0 Flash 3D Graphics Engine

HTTP://AWAY3D.COM

Reply via email to