If I've understood what you want something along the lines of this bouncing idea : http://www.mochigames.com/game/minimal-tennis-3d/ then it's done like this :
You have yourself 3 variables delta_x, delta_y and delta_z which you add to the x, y and z position each frame. Then for each "dimension" you check if the position is equal or greater than the bounding box, if the answer is yes then you must calculate the correct position at the bound (using the trigonometry you learned in high school) set the ball and that position and then invert the appropriate delta. I hope this is what you meant by not needing gravity. On Apr 7, 2:21 pm, Valts Darznieks <vdarzni...@gmail.com> wrote: > Hello could anyone please point me to some tutorial or example of > bouncing ball in Away3D > I have seen ones that uses physics engines, but i don`t need physics, > i need simple bouncing ball (no acceleration(gravity) ) , (picture > ball trapped in cube bouncing all the time) > I know how to do it in 2d, but its bit hard for me to grasp 3d. Any > help appreciated. > Thank you !