Benyee Posted March 2, 2012 Share Posted March 2, 2012 How to get particle angvel and get rid of sudden change of fly direction?Thanks. Quote Link to comment Share on other sites More sharing options...
Macha Posted March 2, 2012 Share Posted March 2, 2012 (edited) 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 March 2, 2012 by Macha Quote Link to comment Share on other sites More sharing options...
hopbin9 Posted March 2, 2012 Share Posted March 2, 2012 How do you get the previous vector? Quote Link to comment Share on other sites More sharing options...
Macha Posted March 2, 2012 Share Posted March 2, 2012 How do you get the previous vector? That's why I said v+acc Quote Link to comment Share on other sites More sharing options...
Benyee Posted March 2, 2012 Author Share Posted March 2, 2012 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 Quote Link to comment Share on other sites More sharing options...
bloomendale Posted March 4, 2012 Share Posted March 4, 2012 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? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.