Rotate an object a random amount or number of times

Game Engine, Players & Web Plug-in, Virtual Reality, support for other engines

Moderators: jesterKing, stiv

bill2reg
Posts: 108
Joined: Wed Feb 23, 2011 11:44 am

Rotate an object a random amount or number of times

Postby bill2reg » Tue Jun 26, 2012 11:06 pm

Trying to set up a motion somewhat like a reel on a slot machine. Using the spacebar to initiate a spin is OK, as long as I hold the spacebar down it spins. But I want to hit the spacebar once and then have the wheel spin a random number of times and stop on a face of the cylinder. I don't see how to set this up, so if anyone has a suggestion, I'd appreciate the help. Thanks.

Return to “Interactive 3d”

Who is online

Users browsing this forum: No registered users and 2 guests