Akabane Posted December 4, 2010 Share Posted December 4, 2010 Hey gang, I'm studying a little DOPs lately and I've been arguing how to group dopobjs by some value like velocity. What I actually need is a drag force only applied to the object which are going too fast than a certain value. I thought I could do that with dopfield expression to go and fetch data, but couldn't find any "velocity" stuff anywhere T___T Any help? Thanks! (DOP is really a completely new way of thinking...is there some comprehensive explaination on how the dataflow and data manipulation in DOPs works somewhere?) Quote Link to comment Share on other sites More sharing options...
graham Posted December 4, 2010 Share Posted December 4, 2010 (edited) Velocity is is stored in the Position/Options subdata under the "vel" field. To group by velocity you could do something like this: vlength( vector3( dopfield("..", $OBJID, "Position", "Options", 0, "velx"), dopfield("..", $OBJID, "Position", "Options", 0, "vely"), dopfield("..", $OBJID, "Position", "Options", 0, "velz") ) ) > somenumber Edited December 4, 2010 by graham Quote Link to comment Share on other sites More sharing options...
Akabane Posted December 4, 2010 Author Share Posted December 4, 2010 Thank you very much graham Quote Link to comment Share on other sites More sharing options...
Benyee Posted October 31, 2011 Share Posted October 31, 2011 Also vlength( vector( dopfields("/obj/AutoDopNetwork", "$OBJID", "Position", "Options", 0, "vel") ) )> somevalue 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.