|
No =( getAngle() dont excists in normal (away3D 2.5.0) I found _fAngle in geometry.as but this variable is private. What I would like to do is to get al the forces on an item placed on a plane due to gravity and the angle of the ground, so I would need the angle of 'ground' at the point where my item is placed. (I'm using elevation on a plane to create the ground) But I have another idea how to solve my problem using the Elevationreader: I just check the difference in height on the point where my object is and 1 pixels to the side of it. If I do this in two direction I get my angle =) Actually I don't even have to calculate the angle to make it simple. I just say that the force in x,y is equal to this difference (and gravity is the force in z). But first I have to go back to finishing the work I should have been working on =( jens Le 16/06/2010 10:02, Michael Iv a écrit :
|
- [away3d] face.normal definition? jens lofberg
- [away3d] Re: face.normal definition? savagelook
- [away3d] Re: face.normal definition? savagelook
- Re: [away3d] Re: face.normal definition? Michael Iv
- Re: [away3d] Re: face.normal definition? jens lofberg
- Re: [away3d] Re: face.normal definition... Michael Iv
- Re: [away3d] Re: face.normal defini... jens lofberg
- Re: [away3d] Re: face.normal de... Michael Iv
- Re: [away3d] Re: face.normal de... jens lofberg
- Re: [away3d] Re: face.normal de... Michael Iv
- Re: [away3d] Re: face.normal de... Darcey Lloyd
- Re: [away3d] Re: face.normal de... jens lofberg
