- Home /
Question by
KingyFisher · Mar 31, 2015 at 10:49 AM ·
cubeanimatefaces
Can you call animated faces on a Cube
I want to have a cube with 2 of its faces animated. I know I can animate these in Blender on a loop cycle. But what I really want to achieve is that individual faces will animate dependant on the situation / user input. Is this possible?
Comment
Answer by LSPressWorks · Mar 31, 2015 at 03:05 PM
To my very limited knowledge you'd have to use a script that gathered the input, and then choose which textures to assign in order from an array using a script.
in PSeUDO
if(trigger == true)
aniamteFaces(true)
else
aniamteFaces(false)
function animateFaces(which)
{
if( true )
check delta time
swap to next texture
else
swap to OTHER texture set when delta time is met
}
sorry Im doing payroll also, so I don't have time to hash out better than pseudocode