TiskO
07-13-2007, 10:38 AM
Not sure if this is a bug, or im missing something here.
Im trying to build a library with approx 5000 books. That's fine, got all that in there, using a box (proxy for hi-res book) as the instanced geometry. The default pivot point for the box is the minimum, not centre (which is perfect).
Problem is, that i need to scale the books on the Z-axis randomly. I place a "scale" operator for Z-axis, and it scales the particles (books) as if their pivot point is in the centre, which it isnt. Now i have books going through the shelves and others floating. Is there anyway to correct this?
At present, the particles are being spawned on a selected edge, and i had to play with the surface offset to get them sitting on the shelf, otherwise the centre of the book was at the edge.
Next question...How do i produce a random gap between the particles (books)? For example, i want say.....6 books to be side-by-side, and then maybe a 15mm gap, and then more books etc etc. ive tried a "keep apart" operator but that was pointless, and ive also tried playing with the seperation distance in the "position object" operator (for the books), and have had no success with that either.
Anyone - Suggestions?
Im trying to build a library with approx 5000 books. That's fine, got all that in there, using a box (proxy for hi-res book) as the instanced geometry. The default pivot point for the box is the minimum, not centre (which is perfect).
Problem is, that i need to scale the books on the Z-axis randomly. I place a "scale" operator for Z-axis, and it scales the particles (books) as if their pivot point is in the centre, which it isnt. Now i have books going through the shelves and others floating. Is there anyway to correct this?
At present, the particles are being spawned on a selected edge, and i had to play with the surface offset to get them sitting on the shelf, otherwise the centre of the book was at the edge.
Next question...How do i produce a random gap between the particles (books)? For example, i want say.....6 books to be side-by-side, and then maybe a 15mm gap, and then more books etc etc. ive tried a "keep apart" operator but that was pointless, and ive also tried playing with the seperation distance in the "position object" operator (for the books), and have had no success with that either.
Anyone - Suggestions?
