Search the Community
Showing results for tags 'torque'.
Found 1 result
Hey All: This is a lay and perhaps naive approach I put together for getting rotations in H13. Attached is a file that has this approach. My physics no es bueno, so I'm wondering if anyone here can tell me if what I'm doing is kosher. It certainly seems to get me what I think I want. Here's an outline of how I went about it. I implore anyone here to tell me if there's a more correct or elegant solution. Randomize the mass of the particles. This affects their speed/acceleration based on the force applied. Calculate speed by getting the length of the velocity. Create a rotation axis based on velocity. I did this by getting the cross product of the normalized velocity and an up vector (0, 1, 0). Set torque.x, torque.y, and torque.z to my rotaxis components. Use speed to scale my torque. Let me have it! I needs to know! Thanks in advance. Attached is the file. rotationPhysics.hipnc