how to add physics to speedtree with OgreNewt

njw1985

18-03-2009 03:03:43

I add speedtree to my project,but can't get node of a tree. so I can't use function "attachToNode"!!
The question is how can I setup body to one tree?

Zero23

18-03-2009 07:39:20

Create your Body and call setpositionorientatio(YourTreePosition). And now your body is at that position. You only need to attach a node when you want to move your body.

I hope that help.

Zero

njw1985

18-03-2009 09:19:28

OK,thx!! I have already solved!!