PDA

View Full Version : Xpresso...


Per-Anders
10-05-2002, 08:56 PM
I'm having trouble with xpresso... i'm starting out simple, and first off i want to move an arc object so that one point of the normal 90 degree arc is at the axis. i had thought i could simple take the position.x or global position.x add or subtract the radius, and put it back in to the other co-ordinate (i.e. position goes into global position or global position goes into position, so that it's not recursive). The trouble is if i try to put just one value in to one port of the vector, nothing happens, i've checked the value coming out and it's correct, when i connect it in to the value it doesn't work. If i connect the value in to both global positon.x and positon.x it goes really weird, as in none fo the positon parameters change in the object, however the rotation (p) value suddenly goes wild up to some stupid value. so i was forced to use a realtovector node before pushign it into a vector math node to get it to shift... the trouble is now that firstly it's recursive (doesn't matter what type of expresso tag i choose, be it initial or expression or whatever else) so it keeps adding and als it gets strange effects as in if the timeline moves it adds up the value (the default being 200) but it starts to add partial values, so the x value goes up but not by increments of 200 (also bizarely the y and z value are being effected even though there's no rotation on the object and a value of 0 going on those vectors).

So can someone help me, or are these things that need to be reported to maxon as bugs?

Srek
10-06-2002, 05:25 AM
Hi,
you have to use separate object nodes for reading and writing the data. This is necessary since they will be executed in a specific order and not at once.
Maybe you can post the scene so i can get a better understanding of waht you are trying to to.
Regards
Srek

Per-Anders
10-06-2002, 05:46 AM
i was using seperate nodes... i'll see if i can post the scene

CGTalk Moderation
01-13-2006, 06:00 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.