Richard,
Thanks alot for your reply.  I figured I'll need to use JigLib but was
hoping for something possibly baked into Away3D that I was missing
looking through the documentation for my lazy side :)  I'll take a
look at doing this with JigLib, thanks.

Matt


On May 15, 3:18 pm, richardolsson <[email protected]> wrote:
> Hi Matt,
>
> Away3D is a rendering engine and doesn't have any built-in
> functionality for physics.
>
> For very simple physics (and this seems to be one of those cases) I
> would suggest that you just implement your own collision checks.
> Before you move your camera, check whether the camera's position
> (after moving it) would collide with an object that you don't want it
> to be able to pass through. If so, make sure that it doesn't move any
> further.
>
> For more complex physics (e.g. in a very complex and dynamic world)
> use a library like JigLib for 3D, or Box2D in case you can live with
> two-dimensional physics (which might work if you only move around on
> the XZ plane, without ever going up/down.
>
> Cheers
> /R
>
> On May 15, 10:15 pm, Matt Przybylski <[email protected]> wrote:
>
>
>
>
>
>
>
> > Hey guys,
> > I'm using Away3D 3.6 and wanted to make a walk-through sort of app
> > where i've got walls and I'm inside a room.  Once the camera hits the
> > floor/ceiling/wall, I'd like it to stop and not move further (possibly
> > against other objects in the room as well).  What's the best way to
> > achieve this with Away3D?
>
> > Matt

Reply via email to