Main Menu
Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - lui1000

#1
Hi guys,
I am new to jPCT and to this forum and have encountered a problem.

I have created a cube and put it into my World. I have also imported another Object3D from an extern .obj file, what should represent the floor. The cube's movement is controlable like in the collision example in the Wiki.
Basically, I just want to rotate that Cube when it moves across the bumpy floor. It should be rotated depending on how the surface of the floor is.
I tried it through setting up a CollisionListener for my Cube, but I really don't know how to continue. Or is there an even better method to do this?

Regards, lui.