Hey colouredfunk,

I adjusted the UserMap class and posted a tutorial on my blog :
http://wsvdmeer.blogspot.com/2009/11/away-3d-2d-collision-detection.html
I'm not that great at writing tutorials so if you still have a problem
with the class let me know.

On 12 nov, 13:12, colouredfunk <[email protected]> wrote:
> Hey Wsvdmee,
>
> I've been playing out with your collision class, but I can't get the
> 2d position to aline with the 3d world...
>
> Have you got any idea where I could be going wrong??
>
> var xpos:Number = (camera.x  / (_envWidth / _userMap.width)) +
> _userMap.width / 2;
> var ypos:Number = -(camera.z / (_envHeight / _userMap.height)) +
> _userMap.height / 2;
>
> _envWidth and _envHeight are the dimensions of the 3ds file...
>
> Thanks
>
> On Nov 10, 4:21 pm, colouredfunk <[email protected]> wrote:
>
>
>
> > Sweet thanks!!!
>
> > Can't wait to see it :)
>
> > On Nov 10, 6:30 am, wsvdmeer <[email protected]> wrote:
>
> > > Hey ColouredFunk i'll try and create a FirstPersonCamera class that
> > > handles the movement/look andcollisionin combination with my UserMap
> > > class.
> > > I think i could be done by the end of the day and then i'll post it
> > > here.
>
> > > Greetz WS
>
> > > On 10 nov, 00:06, ColouredFunk <[email protected]> wrote:
>
> > > > That's the bit I'm really struggerling with; the reactions / the 
> > > > resolves.
>
> > > > Msvdmeer would it be possible to share your camera movement methods
> > > > with the integration of thecollisiondetection? This would really
> > > > save me from going bold :)
>
> > > > thanks..
>
> > > > On Monday, November 9, 2009, Li <[email protected]> wrote:
> > > > > No, unfortunately JigLibFlash doesn't support complex meshes yet (as 
> > > > > far as I know) and you have to reconstruct everything with primitives.

Reply via email to