How to change a PhysicsSprite3D in a scene after adding it as a child to the layer

Im trying to move a physicssprite3d using setposition but the 3dphysicsObject and the sprite is remaining at the position it is created.
Anyone Please help me with this!!