Read forward an animated object
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 09/11/2008 at 05:49, xxxxxxxx wrote:
Hello , I'm new here .
I'm not programer at all ( don't know how to code yet ) but I'd like to know if there was a way , in expresso , to take the information ( position + rotation ) of an animated object , forward in the time ?
I'd like to make a kind of procedural walk , and I'd need to use the future postion of a controler ( the master ) , to calculate the feet position and rotation .
Do you think it's possible ? maybe you could help me with some coffee code please ^^ ? that I could use in my expresso to get those values .
thanks by advance
clement -
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 13/11/2008 at 15:27, xxxxxxxx wrote:
As long as the controller is animated and not being interactively moved by the user - in which case it would be impossible to read the mind of the user - yes, it should be doable.
You should be able to retrieve other-than the current frame in Xpresso (afaik). Definitely possible with COFFEE or C++ API.
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 22/11/2008 at 06:28, xxxxxxxx wrote:
Quote: Originally posted by kuroyume0161 on 13 November 2008
>
> * * *
>
> As long as the controller is animated and not being interactively moved by the user - in which case it would be impossible to read the mind of the user - yes, it should be doable.
>
> You should be able to retrieve other-than the current frame in Xpresso (afaik). Definitely possible with COFFEE or C++ API.
>
> * * *
Thank you Robert
Can I ask you what you'd use as function to do this plz ? because I'm still a bit lost in my learning
thanks
clement -
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 22/11/2008 at 19:40, xxxxxxxx wrote:
After looking over the Xpresso nodes, it may not be possible with Xpresso alone. It may need some COFFEE since you will need to advance the frame (animate the document) to get values related to 'future' animation and then go back with that information.
In C++, one could do this less obviously by cloning the document and setting the clone's frame accordingly. Basically, to get the values of a frame, the document must be animated to that frame to account for animation tracks, expressions, and other influences. This may also be possible with COFFEE but possibly not as expedient for timely simulation.
The Xpresso Time node does get the 'current' frame/time but not sure if it can be used to get future frames. You might want to contact Srek (works for Maxon) for more information: http://www.bonkers.de. He also frequents CGTalk.org (relevant forum: http://forums.cgsociety.org/forumdisplay.php?f=182)