Hi Wenderson,
You have few options:

first the most friendly on cpu usage:
 if your model to test is huge and holds lots of geometry
you can do this using either normalmaps or heightmaps
both generators are in Prefab
normalmaps would even allow banking readings since you can extract the normal vector from the color values

you can also use combo elevation+reader
http://away3d.com/tutorials/tutorial-surface-tracking-elevationreader

or make simple hit test, but probably more expensive that above solution
you can use the Ray class found in away3d.materials.utils.data for this.

Fabrice


On Nov 26, 2009, at 1:45 PM, Wenderson wrote:

The situation is this, I have a character who goes through a 3D
environment, we assume the Mario. But the scene, has only one floor
straight with nothing (I mean the obstacles), as in this scenario is
as containers in which Mario can jump on, it is there that the crux of
the matter. Because Mario is straightforward.

* I've done a class Gravidade3D but still does not work;
* I have used "ditanceTo" but still nothing, he just grabbed the one
and falls;

* In short: I just want my character also run counter to the angle "y"
of some object;

Or someone could tell me how do I get the character to walk on the
reading of a face.

Thank you in advance!

Reply via email to