Hi all yall.
I have been scratching what’s left of my hair trying to do what I thought would be very very simple and straight forward… there are too many sharp cookies here, and I would appreciate some advice.
I got an object instanced 50 times on the surface of a sphere. The particles have zero velocity and my object has a “front” which aims away at a locator. I use a runtime expression to substract the particle’s position from the locator’s position and use the resulting vector as my aim direction. It all works beautifully… but, here’s the but.
I would like the instanced object to have a random “x” rotation yet preserve the aim direction… does it make sense? Think a rocket standing up pointing to a locator. Two axis (x and z) will be used to determined the aim, while “y” should still be available without loosing what the rocket is aiming at.
Note: I know I could make 10 versions of the object with different “x” rotations and instance all of those to get the random look with the correct aim… but I am looking for a more scripted solution.
Some screenshots (behold… my modeling skills):
