Jump to content

Particle direction change with constant rotation


Recommended Posts

Hi,
Struggling a bit to understand what's going on with quaternions and rotations but I'm basically trying to get a particle to point at its direction of motion in general but to constantly rotate around a certain predefined local axis. In the attached example I'm establishing orientation based on the velocity and setting up constant rotation relative to an object's coordinate system. All seems fine until the particle changes velocity using the pop wind. Not sure what's happening with rotations at this point, it seems to be working but things seem to jump abruptly at certain points. I'm guessing this has to do with matrix rotations but I'm not sure I fully understand the issue or how to fix it.

particledirection.hipnc

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...