You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a RigidBody, and it has two children: a CollisionShape (BoxShape) and a TestCube.
When I select the RigitBody and change it's Rotation and Scale properties, it is immediately reflected corectly in the editor. But when I run the game, it appears like Rotation and Scale are in their default values: (0,0,0) and (1,1,1).
The text was updated successfully, but these errors were encountered:
If it's in character mode, you can't rotate it (but you can rotate the
shapes)
And you can't scale it unless in Kinematic or Static mode (but, again, you
can rotate and scale the shapes)
Scale must also not be non-uniform for non-polyhedral shapes.
This is a standard limitation in physics engines, you will see it in Unity
and other engines, as PhysX suffers from the same.
I have a RigidBody, and it has two children: a CollisionShape (BoxShape)
and a TestCube.
When I select the RigitBody and change it's Rotation and Scale properties,
it is immediately reflected corectly in the editor. But when I run the
game, it appears like Rotation and Scale are in their default values:
(0,0,0) and (1,1,1).
—
Reply to this email directly or view it on GitHub #2129.
Thanks! I just went through the doc.
However, the RigidBody object is in Rigid mode, and while the scale is non-uniform, the shape is just a BoxShape, so I guess it this is indeed a bug?
And the weirdest part is, I'm seeing different things in the editor and in the game. This one should clearly be a bug I think.
Edit: OK, I see now. So, we can't scale a RigidBody in Rigid mode. And the work around is to scale the TestCube, and choose a proper BoxShape for it, right?
I have a RigidBody, and it has two children: a CollisionShape (BoxShape) and a TestCube.
When I select the RigitBody and change it's Rotation and Scale properties, it is immediately reflected corectly in the editor. But when I run the game, it appears like Rotation and Scale are in their default values: (0,0,0) and (1,1,1).
The text was updated successfully, but these errors were encountered: