Hi guys 🙂
Sometimes I have such brain blockade, I can't get around and I have the feeling this problem is really easy to fix ...
I googled for it, but actually couldn't find anything to be honest ...
Anyway. What my problem is:
I have a direction vector (wind)
This vector is being used to deform my trees, using "Rotate About Axis".
When having the gameobject with a rotation of 0,0,0, it works. With rotation applied, obviously it does not work, since is using object space positions.
So my simple question is ... how to bend the tree to the right direction, even with rotation applied?
I already tried several stuff with world positions, adding pivots forth and back ... and stuff like this. My only guess is, I need to get access to the rotation of the game object to counter the direction ...
Would really appreciate some help 🙂