Question by
M-Serhio · Mar 26, 2019 at 10:34 AM ·
scripting problemphysicsrigidbody
Bunch of instantiated RBs blows away
Player builds towers and walls with “physical” (collider+rigidbodies) blocks (kind of Minecraft). To save progress, game collects and serializies Position and Rotation of the blocks. To load progress, game Instantiates blocks like this:
foreach (var item in savedBlocks)
{
Instantiate(block, item.savedPosition, item.savedRotation);
}
...and blocks blows away like from inner explosion. Why? And how to fix it? Thank you.
Comment
Your answer
Follow this Question
Related Questions
how to dostraight ball throwing objects from returning? 0 Answers
Keeping a rigidbody character upright, without constraining, grounded or otherwise, with slopes? 1 Answer
How to move a kinematic rigidbody with touch? 0 Answers
Mario kart controller physics 0 Answers
Making a pivot focused game 0 Answers