Jump to content

particle angvel


Benyee

Recommended Posts

Here is an idea:

Get your velocity and acceleration vector. Cross v with acc+v. So, now you have two vectors. Then cross that with v and divide by the square of the magnitude of your previous vector.

If my thinking went well you should have the angular velocity. If not it's nonsense, but close.

edit: Isn't there a default angvel somewhere?

Edited by Macha
Link to comment
Share on other sites

Here is an idea:

Get your velocity and acceleration vector. Cross v with acc+v. So, now you have two vectors. Then cross that with v and divide by the square of the magnitude of your previous vector.

If my thinking went well you should have the angular velocity. If not it's nonsense, but close.

edit: Isn't there a default angvel somewhere?

You mean like this?angvel_try.hip

Link to comment
Share on other sites

Are you talking about angular velocity? afaik it points perpendicular to the plane of rotation for single point (determined by the right-hand rule). But you compute perpednicular part of linear velocity.

btw, i have all my vector markers point in the same direction under ogl 3.2 ,h12 (ogl 2.1 goes fine). Does anybody experience the same?

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...