www.jpct.net

jPCT - a 3d engine for Java => Support => Topic started by: Melssj5 on July 06, 2007, 05:32:10 am

Title: How to set the direction of an object to make it slide on another one.
Post by: Melssj5 on July 06, 2007, 05:32:10 am
Hi, how can I do this. for example a cube on a horizontal that begans to climb for an inclinated plane. The Object3D class has only check for collision methods but they do not slide nor adjust the rotaion of the object, how can I do this?

(http://www.soft-ec.com/Archivos/imagenes/jpct/s1.JPG)

(http://www.soft-ec.com/Archivos/imagenes/jpct/s2.JPG)
Title: Re: How to set the direction of an object to make it slide on another one.
Post by: Remo on July 06, 2007, 10:48:16 am
You could use a 3rd part y(i.e. ODEJAVA) physics engine to do that.