We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.

# Rotate knob to trigger animation?

Home Forums Puzzles Rotate knob to trigger animation?

Tagged: , ,

Viewing 3 posts - 1 through 3 (of 3 total)
• Author
Posts
• #70285
hamza3d
Participant

I was tasked to create an interactive application based on a 3d model. The interactivity is based on a manual that we made. There are a bunch of steps but I’ll split it in different scenario.

The first thing I need need to figure out is this:
I have a knob on an object. The knob is fixed on one axis. It has limited rotational movements. There are three possible rotational positions: lets say A, B and C. If knob is on C then move/trigger new scenario.

I have experience in Blender but I’m struggling with the puzzles part. Also do I need to create 3 different knobs each a specific animation or can I keep 1 know but as different keyframes as explained in the example above?

#70310
xeon
Customer

Ok…well…you have a few options depending on how your know rotates.

Lets imagine a clock face with A at 10, B at 12 and C at 2…. is this sort of what you are trying to solve or is it something more complicated… like A is 2 full turns, B is 3 full turns and C is four full turns?

For simplicity I will explain your options with A at 10 , B at 12 and C at 2.
You do not need shape keys or any animation in blender.

You can use the WhenDrag Over and drag rotate puzzle in V3D and use the get object rotation value and set object rotation value. You will use the get object rotation value to see if the knob is in the general range of the either -60 degrees for 10 or 0 degrees for 12 or +60 degrees for 2.

You can have it snap in to place if the range of rotation is with +/- 10….things like that.

If you need to count rotations…. this is a current problem since rotations are 0 to 180 then -180 to 0…not actually counting rotational values like you have in blender. I am working on that script now.

Xeon
Route 66 Digital
Interactive Solutions - https://www.r66d.com
Tutorials - https://www.xeons3dlab.com

#70331
hamza3d
Participant

Thanks I’ll look at it

Viewing 3 posts - 1 through 3 (of 3 total)
• You must be logged in to reply to this topic.