ubitODE prims: - moved outbounds checking back to UpdatePositionAndVelocity() from move() so it's done at end of each ode step and when it reports positions to core. There should be no need to check in both places. - Addforce() and AddAngularForce now apply a force if parameter pushforce is true or apply a impulse if false as it's actually needed (the prims grab case should be a force)

Author UbitUmarov <ajlduarte at sapo dot pt>
Author date 2012-05-05 09:40:03
Author local date 2012-05-05 10:40:03 +0100
Committer UbitUmarov <ajlduarte at sapo dot pt>
Committer date 2012-05-05 09:40:03
Committer local date 2012-05-05 10:40:03 +0100
Commit 3b78e33d16e89c4c97f840605f3bbefb5f605835
Tree 951a131ff558586c56ae0eb5b1ae97f5c45e8e12
Parent 163a86517ada9ae7f9f1c161192682e02e287e45
ubitODE prims: - moved outbounds checking back to UpdatePositionAndVelocity() from move() so it's done at end of each ode step and when it reports positions to core. There should be no need to check in both places. - Addforce() and AddAngularForce now apply a force if parameter pushforce is true or apply a impulse if false as it's actually needed (the prims grab case should be a force)
Affected files:
OpenSim/Region/Physics/UbitOdePlugin/ODEPrim.cs
ViewGit