Hi everyone,
I'm trying to scatter/distribute an object in a scene and would like to limit the rotation of the objects in certain ways.
The idea is, somebody dumped a bucket of Lego blocks in a room. When they come to a rest they won't stand up on a corner but lay flat on one of the sides. So I want to restrict the rotation to 90 degree increments in the x-axis, 0 degrees in y (the block is very unlikely to rest on one of the short sides and top and bottom are already covered by x) and free 360 degree rotation in z.
It seems like there should be a simple solution to this, doesn't everybody want to do something like this all the time? I feel like I'm missing something an I'm going crazy over this.
I tried "Scatter" which allows you to restrict rotation to a certain angle, e.g. 90 degrees, but it automatically set all three axis to the same value and I also don't get 180 deg only +/-90 deg.
The rotation event in PFlow doesn't seem to allow rotation at certain values at all, is there another event I can use? I am not terribly familiar with PFlow.
Can I use WireParameters? Again I'm not all that familiar with those either (I know of their existence, that's about it)
Are there any plug-ins that could help with this problem?
Any help would be greatly appreciated, I have hit a dead end.
Thanks
Tobi