RigidBody's Physcial dimensions not updating with respect to 3D model with animation #659
AshhadDevLab
started this conversation in
General
Replies: 1 comment 1 reply
-
@react-three/rapier doesn't update colliders to follow animations for you, it traverses of children of to create colliders only once. If you don't need a high fidelity physics mesh, one workaround for your issue could be creating colliders with the collider components: https://github.com/pmndrs/react-three-rapier?tab=readme-ov-file#collider-components |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Description:
I have a 3D model which has an array of animations, the issue I am facing is that the model's animation starts in such a way that the model is flipped closed and after that, it flips open. The model's Physical dimensions are not updating when the model flip opens it stays the way it was before making it go under the collision surface.
Video:
2024-04-11.20-51-49.mp4
Tried Solutions:
I have tried to update the physics by decreasing the timestamp of it getting updated but no results there too.
Source Code:
Beta Was this translation helpful? Give feedback.
All reactions