We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
Page Index Toggle Pages: 1
toxiclibs question (Read 710 times)
toxiclibs question
Mar 22nd, 2009, 9:58pm
 
hi all,

i m not sure if this is the right place to ask but, it s related to libraries?

i m trying to create something similar to a bunch of springs attached to a sphere, using toxiclibs phyiscs engine and verlet springs.

The ball and springs behaves as expected when the ball is stationary,
meaning the ball doesnt rotate when i move my mouse.

after i added logic to rotate the ball with my mouse, heres what
happened:
http://www.flickr.com/photos/36619858@N06/3375454382/

i did the following:

1) draw world bound box
2) push matrix
3) draw sphere and springs
4) pop matrix

it seems like the gravity vector and the world bound box is in local
coordinates instead of the global world coordinates? cuz the springs
should be pointing downward?

thanks in advance
Re: toxiclibs question
Reply #1 - Apr 30th, 2009, 4:52am
 
Just FYI. this has been answered on the mailing list over here:

http://groups.google.com/group/toxiclibs-users/msg/3b5e56882fb99434
Page Index Toggle Pages: 1