-
Notifications
You must be signed in to change notification settings - Fork 68
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Shapeの座標をずらしたらおかしい #27
Comments
As the position of a RigidBodyの中心は剛体の重心で、Shapeの座標はRigidBodyの重心からのずれを表すので、振り子のような動きをするのは想定された動作です。Shapeを重心に置きたい場合は、Shapeの座標の代わりにRigidBodyの座標を調節してください。 |
https://twitter.com/shr_em/status/1249245606972772352 |
https://jsfiddle.net/ssktkr/qmsctw51/
If you move the coordinates of the shape from the center of RigidBody and add it, it will move like a pendulum.
Is it being used incorrectly?
Shapeの座標をRigidBodyの中心からずらしてaddすると振り子のような動きになってしまいます。
使い方が間違っていますか?
The text was updated successfully, but these errors were encountered: