DarkCoder
02-05-2006 14:51:41
Hey all,
Ive just run into a problem, not so much a problem but is there an easier way to do it.
What i want is a joint that can rotate on 2 axes, but to also be affected by spring force.
Imagine a big leaf on a jungle plant, like the CRYTEK 2 engine plants.
Download CRYTEK 2 tech demo: http://uk.media.pc.gamespy.com/media/69 ... ids_1.html (the Motion Blur bit showing off the the plants
My problem is atm i am making 2 revoluteJoint's with a setSpring jointDescription.
Only each leaf will have 3-4 joints, making 6-8 per leaf.
And this is going up in number by each plant with # leaves on it in a dense area!
Anyway to achieve this affect with just 1 joint instead of 2?
Also is there an easy way to grab a joints x,y & z orientation using a get* command inside Nxogre??
Code example would be great!
Thanks
Ive just run into a problem, not so much a problem but is there an easier way to do it.
What i want is a joint that can rotate on 2 axes, but to also be affected by spring force.
Imagine a big leaf on a jungle plant, like the CRYTEK 2 engine plants.
Download CRYTEK 2 tech demo: http://uk.media.pc.gamespy.com/media/69 ... ids_1.html (the Motion Blur bit showing off the the plants

My problem is atm i am making 2 revoluteJoint's with a setSpring jointDescription.
Only each leaf will have 3-4 joints, making 6-8 per leaf.
And this is going up in number by each plant with # leaves on it in a dense area!
Anyway to achieve this affect with just 1 joint instead of 2?
Also is there an easy way to grab a joints x,y & z orientation using a get* command inside Nxogre??
Code example would be great!
Thanks