Can someone help me with this, I want to throw a cube in a plane using accelerometer, like when i shake my phone the cube will throw towards the plane then rolling…
Let’s break down your question a bit. It is much more useful to dissect your question and ask about parts that are very likely to have been answered before.
Give those a look, try putting some of it together, and when you hit a problem you can’t solve through searching, there are lots of people here ready and willing to help.
Easiest way and a good point to start: Make a rigidbody, turn off gravity, and make a script that applies the current accelerometer values as force each frame. Oh, and make a plane below your rigidbody.