|
I’m just getting into programming for Motion Builder, and I don’t have a grasp of how to set up some sort of event handling or triggers for when the playercontroller has reached a frame.
What I’m trying to do: I have data feeding in from a live device. The data provides movement data from a mocap stage for a camera (basically move a camera like object around live). I have a motion builder camera thats parented to the live device object and it accepts the properties (basically it’s transforms and zoom).
I’d like to be able to key this camera’s key group on each frame (basically simulating keying data while “live” ).
I can’t seem to find a way to throw an event per frame via FBSystem. I’m starting to think I’m going to have to write a c++ plugin that hooks directly into the FBEvaluation, but I’m not sure yet.
Any ideas?
--Jordan
|
|
|
|
I Think your best solution would be to create some sort of device that controls that camera so you can make it live and then hit the motionbuilder’s record button. Because asking Motionbuilder to do certain stuff at a specific frame, usually doesn’t work.
but you could perhaps see if you can do something with FBScene.OnChange ...
|
|
|