Addresses an issue related to environment impact damage in our project.
For the ThirdPersonCamera, I have added a check to ensure that the camera only processes physics if there is a valid target.
For RigidBreakable3D, I have modified the condition for checking angular velocity. Previously, the condition checked for non-zero angular velocity and at least one contact. This prevented damage when the object isn't moving. By removing the check, the object can now be damaged by objects hitting it.
In the Mover3D node, I have added a reset function that resets the position and rotation of the target node to their original values. This provides a convenient way to loop animations.
Addresses an issue related to environment impact damage in our project.
For the ThirdPersonCamera, I have added a check to ensure that the camera only processes physics if there is a valid target.
For RigidBreakable3D, I have modified the condition for checking angular velocity. Previously, the condition checked for non-zero angular velocity and at least one contact. This prevented damage when the object isn't moving. By removing the check, the object can now be damaged by objects hitting it.
In the Mover3D node, I have added a
reset
function that resets the position and rotation of the target node to their original values. This provides a convenient way to loop animations.Closes #109