THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 29/07/2012 at 14:16, xxxxxxxx wrote:
My ObjectData object adjusts its rotation automatically to always point to the Y direction of the screen, remaining upright, no matter how we see it.
It works fine in the editor.
But, when I render, the rotation is not getting updated.
Is the GetVirtualObjects method being executed when the objects are rendered? Or must I place my code to orient the object elsewhere?
On 29/07/2012 at 18:23, xxxxxxxx wrote:
On 29/07/2012 at 20:55, xxxxxxxx wrote:
On 30/07/2012 at 02:01, xxxxxxxx wrote:
I registered my object with c4d.OBJECT_CALL_ADDEXECUTION also.
Then, in the AddToExecution method I added a GENERATOR priority with -499and returned True.
And finally moved my orientation code to the Execute method.
By the way, c4d.EXECUTION_GENERATOR (or any other EXECUTION constants are not being identified inside the code. I had to search for them (found them, for instance, in coffeesymbols.h) and reproduce them inside my code,
On 30/07/2012 at 06:02, xxxxxxxx wrote:
c4d.EXECUTION_GENERATOR is c4d.EXECUTIONPRIORITY_GENERATOR (EXECUTION_ -> EXECUTIONPRIORITY_). They've been renamed.
They are still mentioned by error in the C++ docs. I'll fix that.