The "GetLinearVelocity" node outputs a vector (that should represent an objects velocity for XYZ), but only the X value is passed through. The values for Y and Z willl remain "0".
simple example file:
https://files.pixellusion.de/index.php/ ... j/download
The cross object moves along a curved path (keyframe anim) and the veloity is printed to the messages window.
No velocity for Y or Z is printed...
Bug? "GetLinearVelocity" doesn't output YZ velocity
-
- Posts: 53
- Joined: Thu Nov 24, 2011 10:29 pm
- Location: cologne, germany
- Contact:
Re: Bug? "GetLinearVelocity" doesn't output YZ velocity
Thanks for letting us know.
I've tested it and seems like it has been like this since ages (RealFlow 2012).
The problem seems to be related to the internal velocity value, because Cross01.getVelocity() returns the same (wrong) value.
I've tested it and seems like it has been like this since ages (RealFlow 2012).
The problem seems to be related to the internal velocity value, because Cross01.getVelocity() returns the same (wrong) value.
Alex Ribao
RealFlow Team
Next Limit Technologies
RealFlow Team
Next Limit Technologies
-
- Posts: 53
- Joined: Thu Nov 24, 2011 10:29 pm
- Location: cologne, germany
- Contact:
Re: Bug? "GetLinearVelocity" doesn't output YZ velocity
Hey Alex, thanks for confirming
For now i just took the average velocity of all vertices from the object
For now i just took the average velocity of all vertices from the object
Re: Bug? "GetLinearVelocity" doesn't output YZ velocity
That's a very good workaround actually.
Sorry for the inconvenience.
Sorry for the inconvenience.
Alex Ribao
RealFlow Team
Next Limit Technologies
RealFlow Team
Next Limit Technologies