Open AshhadDevLab opened 1 month ago
I am using DragControls over a RigidBody. The issue I am facing performing this action is that the mesh is moving with the drag controls, whereas the rigid body or the physics component stays where it is and doesn't move.
CodeSandbox
I tried copying the world position of the original geometry and then update the position of the rigid body with respect to the world position.
Description:
I am using DragControls over a RigidBody. The issue I am facing performing this action is that the mesh is moving with the drag controls, whereas the rigid body or the physics component stays where it is and doesn't move.
Code
CodeSandbox
Tried Solutions:
I tried copying the world position of the original geometry and then update the position of the rigid body with respect to the world position.