Coffee problem

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 05/04/2005 at 01:33, xxxxxxxx wrote:

User Information:
Cinema 4D Version:   9.1 
Platform:   Windows  ;   
Language(s) :   C.O.F.F.E.E  ;

---------
lease see http://www.cgtalk.com/attachment.php?attachmentid=68107, very simple coffee expresion (only 6 lines), but big problem 😞
1. Why object move not by Spline trajectory, when play in viewport?
2. Why when start render, coffee tag give error in line
var position=obj_master->GetFirstTag()->GetContainer()->GetData(ALIGNTOSPLINETAG_POSITION);

This is part of more complex task, please don't propose use Xpresso. I want to understand why coffee does not work properly.

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 10/04/2005 at 14:36, xxxxxxxx wrote:

It seems like I don't have permission to access the attachment without a CG-Talk account. For such a small project it's easier if you simply post the code directly here. (I've applied for an account, but haven't got my confirmation mail yet.)

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 10/04/2005 at 15:30, xxxxxxxx wrote:

1. This is because the axis of the spline isn't at the world origin. You will need to put in a matrix transformation. (See the matrix tutorial for more information, or search the forum for global position.)
2. During the rendering something seems to add a hidden tag to the WMaster object, so the align tag isn't the first tag anymore. Instead of GetFirstTag() you will have to search for the first tag where tag->GetType()==Taligntospline.