Page 1 of 1

Rotate a cube exactly 90 degrees with angular velocity

Posted: Mon Jul 29, 2013 8:52 pm
by imapiratemon
I need a cube to rotate 90 degrees at the press of a button, but I want the viewer to see the cube spin, so I'm using angular velocity. Is there any way to make sure the cube always rotates 90 degrees? or even better make it so that it always ends up with one of the faces parallel to the camera?

Reply

Posted: Mon Aug 05, 2013 5:26 pm
by Matt_Gardener
I'm also interested in this if anyone has an answer??

I am also intersted to know something about that

Posted: Fri Aug 16, 2013 9:20 am
by sunnix
Hi :)
I am looking for a solution a similar problem.

I ve created a character which is moving on the scene floor, but stay always parallele to the horizont line even if the floor has a 45° inclination.
It should follow the inclination of the floor.

Image

Image
I would like to solve this problem with Ray sensors. As soon as one of these 2 Ray sensors (in green) detecting an inclined floor, it should make inclining/rotating the Rigs of the character.

Is there any kind of logic brick with which is possible to apply a rotation or an angle value to the Rig or objet ?

Thanks in advance for any tipps :idea:

sunnix

Posted: Sat Aug 17, 2013 12:24 am
by sunnix
Hi,
I solved my problem with the actuator "constraint" with which you can set the angle / inclination of an object.

Here in short:
Image

I hope it can help somebody

:)

where is "solved"

Posted: Sat Aug 17, 2013 12:27 am
by sunnix
to indicate that we got a solution ?