View Full Version : Real-time object controls and counter

01 January 2004, 03:36 PM
Hey all.

I was wondering if I might get some help making a real-time video game style control for my setup. Sample scripts or tutorials that I can use to get going in the direction I need would be most appreciated.

The first thing is a "flipper" control, like a pinball-style flipper. I just need a way to make it so that when, say, the z button is pressed, my object rotates 25 degrees on its y axis over 3 frames, then returns back to its starting position over the following 3 frames.

The second thing I need is a score-keeper. This requires 3 things that I can think of: a collision detector, a counter, and a way to display the counter. ie - objectOne collides with objectTwo; counter value = counter value + 1; counter display shows the current counter value (can I do this as a number on a procedural texture?)

Any help on this would be greatly appreciated.

Thanks in advance,


CGTalk Moderation
01 January 2006, 07:00 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.