by ArtF » Tue Jan 31, 2023 12:04 pm
Thanks Bill:
Ill investigate that. While a shaft will not collide with its master, I have seen where an attached gear can collide with its mate shaft
in certain situations. Im hoping to see some improvement as I change the "lock Position" and "Lock Orientation" code.
In the past, these were done by setting the angular or linear factors to zero. (This means all forces, angular or linear, were
zeroed on an object every frame.). I never liked it as it violates physics, all natural forces should be used really, so I'm recoding
so that if locked in position , for example, the forces are not zeroed, but symmetrically opposite forces are added instead.
This allows for these forces to be propagated properly through the model, Im hoping this will improve things markedly so that perhaps its not necessary to put a gear on a shaft to stop an object from moving inappropriately. It may make a "position locked" object more susceptible to motion from immovable object meets unstoppable force type situations, but Ill try it as I think it is more accurate to nature and
perhaps more stable. We'll see. :)
Art
Thanks Bill:
Ill investigate that. While a shaft will not collide with its master, I have seen where an attached gear can collide with its mate shaft
in certain situations. Im hoping to see some improvement as I change the "lock Position" and "Lock Orientation" code.
In the past, these were done by setting the angular or linear factors to zero. (This means all forces, angular or linear, were
zeroed on an object every frame.). I never liked it as it violates physics, all natural forces should be used really, so I'm recoding
so that if locked in position , for example, the forces are not zeroed, but symmetrically opposite forces are added instead.
This allows for these forces to be propagated properly through the model, Im hoping this will improve things markedly so that perhaps its not necessary to put a gear on a shaft to stop an object from moving inappropriately. It may make a "position locked" object more susceptible to motion from immovable object meets unstoppable force type situations, but Ill try it as I think it is more accurate to nature and
perhaps more stable. We'll see. :)
Art